org.jcp.xml.dsig.internal.dom
Class DOMSubTreeData

java.lang.Object
  extended by org.jcp.xml.dsig.internal.dom.DOMSubTreeData
All Implemented Interfaces:
Data, NodeSetData

public class DOMSubTreeData
extends Object
implements NodeSetData

Disabled: no SafeJ information.

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()
           
 Iterator iterator()
          Returns a read-only iterator over the nodes contained in this NodeSetData in document order.
 
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)
Class is disabled.

Method Detail

iterator

public Iterator iterator()
Class is disabled.

Description copied from interface: NodeSetData
Returns a read-only iterator over the nodes contained in this NodeSetData in document order. Attempts to modify the returned iterator via the remove method throw UnsupportedOperationException.

Specified by:
iterator in interface NodeSetData
Returns:
an Iterator over the nodes in this NodeSetData in document order

getRoot

public org.w3c.dom.Node getRoot()
Class is disabled.


excludeComments

public boolean excludeComments()
Class is disabled.