public class DocVersion extends OFDElement
版本信息在独立的文件中描述,如图 90 所示。 版本定义结构中列出了一个 OFD 文档版本中所需的所有文件。
19.2 版本 图 90 表 71
proxy| 构造器和说明 |
|---|
DocVersion() |
DocVersion(org.dom4j.Element proxy) |
DocVersion(String id,
FileList fileList) |
| 限定符和类型 | 方法和说明 |
|---|---|
LocalDate |
getCreationDate()
【属性 可选】
获取 创建时间
|
ST_Loc |
getDocRoot()
【必选】
获取 该版本的入口文件
|
String |
getDocVersionName()
【属性 可选】
获取 版本名称
|
FileList |
getFileList()
【必选】
获取 版本包含的文件列表
|
String |
getID()
【属性 必选】
获取 版本标识符
|
String |
getVersion()
【属性 可选】
获取 该文件适用的格式版本
|
DocVersion |
setCreationDate(LocalDate creationDate)
【属性 可选】
设置 创建时间
|
DocVersion |
setDocRoot(ST_Loc docRoot)
【必选】
设置 该版本的入口文件
|
DocVersion |
setDocVersionName(String name)
【属性 可选】
设置 版本名称
|
DocVersion |
setFileList(FileList fileList)
【必选】
设置 版本包含的文件列表
|
DocVersion |
setID(String id)
【属性 必选】
设置 版本标识符
|
DocVersion |
setVersion(String version)
【属性 可选】
设置 该文件适用的格式版本
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, 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 DocVersion setID(String id)
id - 版本标识符public String getID()
public DocVersion setVersion(String version)
version - 该文件适用的格式版本public String getVersion()
public DocVersion setDocVersionName(String name)
name - 版本名称public String getDocVersionName()
public DocVersion setCreationDate(LocalDate creationDate)
creationDate - 创建时间public LocalDate getCreationDate()
public DocVersion setFileList(FileList fileList)
fileList - 版本包含的文件列表public FileList getFileList()
public DocVersion setDocRoot(ST_Loc docRoot)
docRoot - 该版本的入口文件public ST_Loc getDocRoot()
Copyright © 2021. All rights reserved.