public class OFDEntries extends OFDElement
防夹带文件的文件名固定位“OFDEntries.xml”,应放置在OFD文件的根目录(与OFD.xml位置相同)
GMT0099 D.1 完整性保护描述文件
proxy| 构造器和说明 |
|---|
OFDEntries() |
OFDEntries(org.dom4j.Element proxy) |
| 限定符和类型 | 方法和说明 |
|---|---|
@Nullable LocalDateTime |
getCreationDate()
【可选属性】
获取 创建时间
|
@Nullable String |
getCreatorName()
【可选 属性 OFD 2.0】
获取 创建者名称
|
@NotNull FileList |
getFileList()
【必选 OFD 2.0】
获取 防止夹带文件列表
|
String |
getID()
【必选 属性 OFD 2.0】
获取 标识符
|
@NotNull ST_Loc |
getSignedValueLoc()
【必选 OFD 2.0】
获取 针对防夹带文件所在文件形成的签名值。
|
@Nullable String |
getVersion()
【可选 属性 OFD 2.0】
获取 模块版本
|
OFDEntries |
setCreationDate(LocalDateTime creationDate)
【可选属性】
设置 创建时间
|
OFDEntries |
setCreatorName(String creatorName)
【可选 属性 OFD 2.0】
设置 创建者名称
|
OFDEntries |
setFileList(@NotNull FileList fileList)
【必选 OFD 2.0】
设置 防止夹带文件列表
|
OFDEntries |
setID(String id)
【必选 属性 OFD 2.0】
设置 标识符
|
OFDEntries |
setSignedValueLoc(@NotNull ST_Loc signedValueLoc)
【必选 OFD 2.0】
设置 针对防夹带文件所在文件形成的签名值。
|
OFDEntries |
setVersion(String version)
【可选 属性 OFD 2.0】
设置 模块版本
|
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 OFDEntries setID(String id)
id - 标识符public String getID()
public OFDEntries setCreatorName(String creatorName)
creatorName - 创建者名称,为null表示删除@Nullable public @Nullable String getCreatorName()
public OFDEntries setVersion(String version)
version - 模块版本,null表示删除@Nullable public @Nullable String getVersion()
public OFDEntries setCreationDate(LocalDateTime creationDate)
creationDate - 创建时间,null表示删除@Nullable public @Nullable LocalDateTime getCreationDate()
public OFDEntries setSignedValueLoc(@NotNull @NotNull ST_Loc signedValueLoc)
签名值应符合“GB/T 35275”标注
signedValueLoc - 针对防夹带文件所在文件形成的签名值@NotNull public @NotNull ST_Loc getSignedValueLoc()
签名值应符合“GB/T 35275”标注
public OFDEntries setFileList(@NotNull @NotNull FileList fileList)
fileList - 防止夹带文件列表@NotNull public @NotNull FileList getFileList()
Copyright © 2021. All rights reserved.