public static final class Navigator.AncestorEnumeration extends Navigator.BaseEnumeration
current, positionGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
Navigator.AncestorEnumeration(NodeInfo start,
boolean includeSelf)
Create an iterator over the ancestor or ancestor-or-self axis
|
| Modifier and Type | Method and 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.
|
nextatomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, positionpublic Navigator.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 AxisIterator getAnother()
UnfailingIteratorgetAnother in interface SequenceIterator<NodeInfo>getAnother in interface AxisIterator<NodeInfo>getAnother in interface UnfailingIterator<NodeInfo>getAnother in class Navigator.BaseEnumerationCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.