com.sun.xml.wss.impl.dsig
Class DOMSubTreeData

java.lang.Object
  extended by com.sun.xml.wss.impl.dsig.DOMSubTreeData
All Implemented Interfaces:
javax.xml.crypto.Data, javax.xml.crypto.NodeSetData

public class DOMSubTreeData
extends java.lang.Object
implements javax.xml.crypto.NodeSetData

This is a subtype of NodeSetData that represents a dereferenced same-document URI as the root of a subdocument. The main reason is for efficiency and performance, as some transforms can operate directly on the subdocument and there is no need to convert it first to an XPath node-set.


Constructor Summary
DOMSubTreeData(org.w3c.dom.Node root, boolean excludeComments)
           
 
Method Summary
 boolean excludeComments()
           
 org.w3c.dom.Node getRoot()
           
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMSubTreeData

public DOMSubTreeData(org.w3c.dom.Node root,
                      boolean excludeComments)
Method Detail

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface javax.xml.crypto.NodeSetData

getRoot

public org.w3c.dom.Node getRoot()

excludeComments

public boolean excludeComments()


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.