public static final class Navigator.PrecedingEnumeration extends Navigator.BaseEnumeration
current, position
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
?????? |
---|
PrecedingEnumeration(NodeInfo start,
boolean includeAncestors)
Create an iterator for the preceding or "preceding-or-ancestor" axis (the latter being
used internall to support xsl:number)
|
?????? | ????? |
---|---|
void |
advance()
The advance() method must be provided in each concrete implementation.
|
SequenceIterator |
getAnother()
Get another SequenceIterator that iterates over the same items as the original,
but which is repositioned at the start of the sequence.
|
next
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, position
public PrecedingEnumeration(NodeInfo start, boolean includeAncestors)
start
- the initial context nodeincludeAncestors
- true if ancestors of the initial context node are to be included
in the resultpublic void advance()
Navigator.BaseEnumeration
advance
??? Navigator.BaseEnumeration
public SequenceIterator getAnother()
SequenceIterator
This method allows access to all the items in the sequence without disturbing the current position of the iterator. Internally, its main use is in evaluating the last() function.
This method does not change the state of the iterator.
getAnother
???? SequenceIterator
getAnother
???? UnfailingIterator
getAnother
??? Navigator.BaseEnumeration