public class Parameter extends OFDElement
记录一个属性的“键”(Name)和“值”,值在该节点的内容中记录。
GMT0099 B.2
proxy| 构造器和说明 |
|---|
Parameter() |
Parameter(org.dom4j.Element proxy) |
Parameter(@NotNull String name,
@Nullable String value)
创建 签名扩展属性
|
Parameter(@NotNull String name,
@Nullable String type,
@Nullable String value)
创建 签名扩展属性
|
| 限定符和类型 | 方法和说明 |
|---|---|
@NotNull String |
getNameAttr()
【必选 属性 OFD 2.0】
获取 扩展属性的名称
|
@Nullable String |
getType()
【可选 属性 OFD 2.0】
获取 扩展属性的值类型
|
@NotNull String |
getValue()
【可选 OFD 2.0】
设置 签名扩展属性值
|
Parameter |
setNameAttr(@NotNull String name)
【必选 属性 OFD 2.0】
设置 扩展属性的名称
|
Parameter |
setType(@Nullable String type)
【可选 属性 OFD 2.0】
设置 扩展属性的值类型
|
Parameter |
setValue(@Nullable String value)
【可选 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 Parameter(org.dom4j.Element proxy)
public Parameter()
public Parameter(@NotNull
@NotNull String name,
@Nullable
@Nullable String type,
@Nullable
@Nullable String value)
name - 属性的名称type - 属性的类型value - 属性的值public Parameter setNameAttr(@NotNull @NotNull String name)
name - 扩展属性的名称@NotNull public @NotNull String getNameAttr()
public Parameter setType(@Nullable @Nullable String type)
type - 扩展属性的值类型,null表示删除属性@Nullable public @Nullable String getType()
public Parameter setValue(@Nullable @Nullable String value)
value - 签名扩展属性值@NotNull public @NotNull String getValue()
Copyright © 2021. All rights reserved.