public static final class Navigator.AncestorEnumeration extends AxisIteratorImpl
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
AncestorEnumeration(NodeInfo start,
boolean includeSelf)
Create an iterator over the ancestor or ancestor-or-self axis
|
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
next()
Get the next item in the sequence.
|
close, getPropertiespublic AncestorEnumeration(NodeInfo start, boolean includeSelf)
start - the initial context nodeincludeSelf - true if the "self" node is to be includedpublic final NodeInfo next()
UnfailingIteratorCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.