Class ReferenceSubTreeData
java.lang.Object
org.apache.xml.security.signature.reference.ReferenceSubTreeData
- All Implemented Interfaces:
ReferenceData, ReferenceNodeSetData
A representation of a
ReferenceNodeSetData type containing a node-set.
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 ClassesModifier and TypeClassDescription(package private) static classThis 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetRoot()iterator()Returns a read-only iterator over the nodes contained in thisNodeSetDatain document order.
-
Field Details
-
excludeComments
private boolean excludeComments -
root
-
-
Constructor Details
-
ReferenceSubTreeData
-
-
Method Details
-
iterator
Description copied from interface:ReferenceNodeSetDataReturns a read-only iterator over the nodes contained in thisNodeSetDatain document order. Attempts to modify the returned iterator via theremovemethod throwUnsupportedOperationException.- Specified by:
iteratorin interfaceReferenceNodeSetData- Returns:
- an
Iteratorover the nodes in thisNodeSetDatain document order
-
getRoot
-
excludeComments
public boolean excludeComments()
-