public class CT_DocInfo extends OFDElement
proxy| 构造器和说明 |
|---|
CT_DocInfo() |
CT_DocInfo(org.dom4j.Element proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
CT_DocInfo |
addKeyword(String keyword)
添加关键词
|
String |
getAbstract()
【可选】
获取文档摘要与注释
|
String |
getAuthor()
【可选】
获取文档作者
|
ST_Loc |
getCover()
【可选】
获取文档封面,此路径指向一个图片文件
|
LocalDate |
getCreationDate()
【可选】
获取文件创建日期
|
String |
getCreator()
【可选】
获取创建文档的应用程序
|
String |
getCreatorVersion()
【可选】
获取创建文档的应用程序版本信息
|
CustomDatas |
getCustomDatas()
【可选】
获取用户自定义元数据集合。
|
String |
getDocID()
【必选】
采用UUID算法生成的由32个字符组成的文件标识。
|
DocUsage |
getDocUsage()
【可选】
获取文档分类
默认值为 Normal
|
Keywords |
getKeywords()
【可选】
获取关键词集合
|
LocalDate |
getModDate()
【可选】
获取文档最近修改日期
|
String |
getQualifiedName()
OFD元素采用OFD的命名空间,所以直接调用代理对象
|
String |
getSubject()
【可选】
获取文档主题
|
String |
getTile()
【可选】
获取文档标题。
|
CT_DocInfo |
randomDocID()
随机产生一个UUID作为文件标识符
|
CT_DocInfo |
setAbstract(String abstractTxt)
【可选】
设置文档摘要与注释
|
CT_DocInfo |
setAuthor(String author)
【可选】
设置文档作者
|
CT_DocInfo |
setCover(ST_Loc cover)
【可选】
设置文档封面,此路径指向一个图片文件
|
CT_DocInfo |
setCreationDate(LocalDate creationDate)
【可选】
设置文件创建日期
|
CT_DocInfo |
setCreator(String creator)
【可选】
设置创建文档的应用程序
|
CT_DocInfo |
setCreatorVersion(String creatorVersion)
【可选】
设置创建文档的应用程序版本信息
|
CT_DocInfo |
setCustomDatas(CustomDatas customDatas)
【可选】
设置用户自定义元数据集合。
|
CT_DocInfo |
setDocID(UUID docID)
【必选】
设置文件标识符,标识符应该是一个UUID
|
CT_DocInfo |
setDocUsage(DocUsage docUsage)
【可选】
文档分类,可取值如下:
Normal——普通文档
EBook——电子书
ENewsPaper——电子报纸
EMagzine——电子期刊
默认值为 Normal
|
CT_DocInfo |
setKeywords(Keywords keywords)
【可选】
设置关键词集合
每一个关键词用一个“Keyword”子节点来表达
|
CT_DocInfo |
setModDate(LocalDate modDate)
【可选】
设置文档最近修改日期
|
CT_DocInfo |
setSubject(String subject)
【可选】
设置文档主题
|
CT_DocInfo |
setTile(String title)
【可选】
设置文档标题。
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, setObjID, setOFDEntity, setOFDNameaccept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addElement, addElement, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, appendContent, asXML, asXPathResult, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, clearContent, clone, content, createCopy, createCopy, createCopy, createXPath, declaredNamespaces, detach, element, element, elementByID, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, equals, getData, getDocument, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getNodeTypeName, getParent, getPath, getPath, getProxy, getQName, getQName, getStringValue, getText, getTextTrim, getUniquePath, getUniquePath, getXPathResult, hasContent, hasMixedContent, indexOf, isReadOnly, isRootElement, isTextOnly, matches, node, nodeCount, nodeIterator, normalize, numberValueOf, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeProcessingInstruction, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setAttributes, setAttributeValue, setAttributeValue, setContent, setData, setDocument, setName, setParent, setProcessingInstructions, setProxy, setQName, setText, supportsParent, valueOf, writepublic CT_DocInfo setDocID(UUID docID)
docID - UUID文件标识public CT_DocInfo randomDocID()
public String getDocID()
public CT_DocInfo setTile(String title)
title - 标题public String getTile()
public CT_DocInfo setAuthor(String author)
author - 文档作者public String getAuthor()
public CT_DocInfo setSubject(String subject)
subject - 文档主题public String getSubject()
public CT_DocInfo setAbstract(String abstractTxt)
abstractTxt - 文档摘要与注释public String getAbstract()
public CT_DocInfo setCreationDate(LocalDate creationDate)
creationDate - 文件创建日期public LocalDate getCreationDate()
public CT_DocInfo setModDate(LocalDate modDate)
modDate - 文档最近修改日期public LocalDate getModDate()
public CT_DocInfo setDocUsage(DocUsage docUsage)
Normal——普通文档
EBook——电子书
ENewsPaper——电子报纸
EMagzine——电子期刊
默认值为 Normal
docUsage - 文档分类public DocUsage getDocUsage()
默认值为 Normal
public CT_DocInfo setCover(ST_Loc cover)
cover - 文档封面路径public ST_Loc getCover()
public CT_DocInfo setKeywords(Keywords keywords)
keywords - 关键词集合public CT_DocInfo addKeyword(String keyword)
keyword - 关键词public Keywords getKeywords()
public CT_DocInfo setCreator(String creator)
creator - 创建文档的应用程序public String getCreator()
public CT_DocInfo setCreatorVersion(String creatorVersion)
creatorVersion - 创建文档的应用程序版本信息public String getCreatorVersion()
public CT_DocInfo setCustomDatas(CustomDatas customDatas)
customDatas - 用户自定义元数据集合public CustomDatas getCustomDatas()
public String getQualifiedName()
OFDElementgetQualifiedName 在接口中 org.dom4j.ElementgetQualifiedName 在类中 OFDElementCopyright © 2021. All rights reserved.