public static final class Navigator.AncestorEnumeration extends java.lang.Object implements AxisIterator
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfirstWith, forEach, toGroundedValue, toListclose, forEachOrFail, getProperties, materializepublic AncestorEnumeration(NodeInfo start, boolean includeSelf)
start - the initial context nodeincludeSelf - true if the "self" node is to be includedpublic final NodeInfo next()
UnfailingIteratornext in interface SequenceIterator<NodeInfo>next in interface AxisIteratornext in interface UnfailingIterator<NodeInfo>Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.