com.icl.saxon.jdom
Class NodeWrapper.AncestorEnumeration
java.lang.Object
com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
com.icl.saxon.jdom.NodeWrapper.AncestorEnumeration
- NodeWrapper
- AxisEnumeration, LastPositionFinder, NodeEnumeration
(package private) final class NodeWrapper.AncestorEnumeration
extends com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
void | advance()
|
com.icl.saxon.jdom.NodeWrapper.BaseEnumeration | copy()
|
boolean | isPeer() - Determine whether the nodes returned by this enumeration are known to be peers, that is,
no node is a descendant or ancestor of another node.
|
boolean | isSorted() - Determine whether the nodes returned by this enumeration are known to be in document order
|
AncestorEnumeration
public AncestorEnumeration(NodeWrapper start,
boolean includeSelf)
advance
public void advance()
- advance in interface com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
copy
public com.icl.saxon.jdom.NodeWrapper.BaseEnumeration copy()
- copy in interface com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
isPeer
public boolean isPeer()
Determine whether the nodes returned by this enumeration are known to be peers, that is,
no node is a descendant or ancestor of another node. This significance of this property is
that if a peer enumeration is applied to each node in a set derived from another peer
enumeration, and if both enumerations are sorted, then the result is also sorted.
- isPeer in interface NodeEnumeration
- isPeer in interface com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
isSorted
public boolean isSorted()
Determine whether the nodes returned by this enumeration are known to be in document order
- isSorted in interface NodeEnumeration
- isSorted in interface com.icl.saxon.jdom.NodeWrapper.BaseEnumeration
- true if the nodes are guaranteed to be in document order.