public class DOMStructure extends Object implements XMLStructure
XMLStructure 。
此类的目的是允许使用DOM节点来表示XML签名结构中的可扩展内容(任何元素或混合内容)。
如果需要一系列节点,DOMStructure中DOMStructure的节点是序列的第一个节点,并且可以通过调用Node.getNextSibling()访问连续的节点。
如果所有者文件DOMStructure是除的目标文档不同XMLSignature ,所述XMLSignature.sign(XMLSignContext)方法导入节点到目标文档生成签名之前。
| Constructor and Description |
|---|
DOMStructure(Node node)
创建一个
DOMStructure指定节点的DOMStructure。
|
public DOMStructure(Node node)
DOMStructure指定节点的DOMStructure。
node - 节点
NullPointerException - 如果
node是
null
public Node getNode()
DOMStructure 。
public boolean isFeatureSupported(String feature)
XMLStructure
isFeatureSupported在接口
XMLStructure
feature - 功能名称(作为绝对URI)
true如果指定的功能被支持,
false false
NullPointerException - 如果
feature是
null
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.