AxisIterator, SequenceIterator, UnfailingIteratorpublic static final class Navigator.AncestorEnumeration extends Navigator.BaseEnumeration
current, positionGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor | Description |
|---|---|
AncestorEnumeration(NodeInfo start,
boolean includeSelf) |
Create an iterator over the ancestor or ancestor-or-self axis
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
advance() |
The advance() method must be provided in each concrete implementation.
|
SequenceIterator |
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 AncestorEnumeration(NodeInfo start, boolean includeSelf)
start - the initial context nodeincludeSelf - true if the "self" node is to be includedpublic void advance()
Navigator.BaseEnumerationadvance in class Navigator.BaseEnumerationpublic SequenceIterator getAnother()
UnfailingIteratorgetAnother in interface SequenceIteratorgetAnother in interface UnfailingIteratorgetAnother in class Navigator.BaseEnumeration