SequenceIterator<T>, AxisIterator, UnfailingIterator<T>public static final class Navigator.PrecedingEnumeration extends Navigator.BaseEnumeration
current, positionGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor | Description |
|---|---|
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)
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
advance() |
The advance() method must be provided in each concrete implementation.
|
AxisIterator |
getAnother() |
Get another iterator over the same sequence of items, positioned at the
start of the sequence.
|
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, positionnextpublic 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.BaseEnumerationadvance in class Navigator.BaseEnumerationpublic AxisIterator getAnother()
UnfailingIteratorgetAnother in interface AxisIteratorgetAnother in interface SequenceIterator<T extends NodeInfo>getAnother in interface UnfailingIterator<T extends NodeInfo>getAnother in class Navigator.BaseEnumeration