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

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

public class DOMSubTreeData
extends Object
implements 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(Node root, boolean excludeComments)
           
 
Method Summary
 boolean excludeComments()
           
 Node getRoot()
           
 Iterator<Node> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMSubTreeData

public DOMSubTreeData(Node root,
                      boolean excludeComments)
Method Detail

iterator

public Iterator<Node> iterator()
Specified by:
iterator in interface NodeSetData

getRoot

public Node getRoot()

excludeComments

public boolean excludeComments()


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.