public static final class Navigator.AncestorEnumeration extends AxisIteratorImpl
ATOMIZING, GROUNDED, 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 |
|---|---|
AxisIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence.
|
NodeInfo |
next()
Get the next item in the sequence.
|
close, getPropertiespublic Navigator.AncestorEnumeration(NodeInfo start, boolean includeSelf)
start - the initial context nodeincludeSelf - true if the "self" node is to be includedpublic final NodeInfo next()
UnfailingIteratorpublic AxisIterator getAnother()
UnfailingIteratorCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.