|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.xml.crypto.dom.DOMStructure
public class DOMStructure
特定於 DOM 的 XMLStructure。此類別的目的是允許使用 DOM 節點表示 XML Signature 結構中的可擴展內容(任何元素或混合內容)。
如果需要節點序列,那麼包含在 DOMStructure 中的節點將是該序列的第一個節點,隨後的節點可以通過調用 Node.getNextSibling() 存取。
如果 DOMStructure 的所有者文檔與 XMLSignature 的目標文檔不同,則在產生簽章前,XMLSignature.sign(XMLSignContext) 方法會將節點導入目標文檔。
| 建構子摘要 | |
|---|---|
DOMStructure(Node node)
創建包含指定節點的 DOMStructure。 |
|
| 方法摘要 | |
|---|---|
Node |
getNode()
返回包含在此 DOMStructure 中的節點。 |
boolean |
isFeatureSupported(String feature)
指示是否支持指定的功能。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public DOMStructure(Node node)
DOMStructure。
node - 節點
NullPointerException - 如果 node 為 null| 方法詳細資訊 |
|---|
public Node getNode()
DOMStructure 中的節點。
public boolean isFeatureSupported(String feature)
XMLStructure 複製的描述
XMLStructure 中的 isFeatureSupportedfeature - 功能的名稱(以抽象 URI 形式)
true,否則返回 false
NullPointerException - 如果 feature 為 null
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。