Package net.sf.saxon.tree
Class PrecedingEnumeration
java.lang.Object
net.sf.saxon.tree.TreeEnumeration
net.sf.saxon.tree.PrecedingEnumeration
- All Implemented Interfaces:
AxisIterator
,LookaheadIterator
,SequenceIterator
-
Field Summary
FieldsFields inherited from class net.sf.saxon.tree.TreeEnumeration
current, next, nodeTest, position, start
Fields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Special code to skip the ancestors of the start nodeGet another enumeration of the same nodesprotected void
step()
Advance one step along the axis: the resulting node might not meet the required criteria for inclusionMethods inherited from class net.sf.saxon.tree.TreeEnumeration
advance, current, getProperties, hasNext, next, position
-
Field Details
-
nextAncestor
NodeImpl nextAncestor
-
-
Constructor Details
-
PrecedingEnumeration
-
-
Method Details
-
conforms
Special code to skip the ancestors of the start node- Overrides:
conforms
in classTreeEnumeration
-
step
protected void step()Description copied from class:TreeEnumeration
Advance one step along the axis: the resulting node might not meet the required criteria for inclusion- Specified by:
step
in classTreeEnumeration
-
getAnother
Get another enumeration of the same nodes- Returns:
- a new iterator over the same sequence
-