Class DOMSubTreeData
- java.lang.Object
-
- org.apache.jcp.xml.dsig.internal.dom.DOMSubTreeData
-
- All Implemented Interfaces:
java.lang.Iterable
,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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DOMSubTreeData.DelayedNodeIterator
This is an Iterator that contains a backing node-set that is not populated until the caller first attempts to advance the iterator.
-
Field Summary
Fields Modifier and Type Field Description private boolean
excludeComments
private org.w3c.dom.Node
root
-
Constructor Summary
Constructors Constructor Description DOMSubTreeData(org.w3c.dom.Node root, boolean excludeComments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
excludeComments()
org.w3c.dom.Node
getRoot()
java.util.Iterator<org.w3c.dom.Node>
iterator()
-