Package net.sf.saxon.tree.linked
Class AncestorEnumeration
- java.lang.Object
-
- net.sf.saxon.tree.linked.TreeEnumeration
-
- net.sf.saxon.tree.linked.AncestorEnumeration
-
- All Implemented Interfaces:
SequenceIterator,AxisIterator,LookaheadIterator,UnfailingIterator
final class AncestorEnumeration extends TreeEnumeration
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.tree.linked.TreeEnumeration
current, next, nodeTest, position, start
-
Fields inherited from interface net.sf.saxon.om.SequenceIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
-
-
Constructor Summary
Constructors Constructor Description AncestorEnumeration(NodeImpl node, NodeTest nodeTest, boolean includeSelf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AxisIteratorgetAnother()Get another enumeration of the same nodesprotected voidstep()Advance one step along the axis: the resulting node might not meet the required criteria for inclusion-
Methods inherited from class net.sf.saxon.tree.linked.TreeEnumeration
advance, atomize, close, conforms, current, getProperties, getStringValue, hasNext, iterateAxis, moveNext, next, position
-
-
-
-
Method Detail
-
step
protected void step()
Description copied from class:TreeEnumerationAdvance one step along the axis: the resulting node might not meet the required criteria for inclusion- Specified by:
stepin classTreeEnumeration
-
getAnother
public AxisIterator getAnother()
Get another enumeration of the same nodes- Returns:
- a new iterator over the same sequence
-
-