public static final class Navigator.PrecedingEnumeration extends java.lang.Object implements AxisIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
PrecedingEnumeration(NodeInfo start,
boolean includeAncestors)
Create an iterator for the preceding or "preceding-or-ancestor" axis (the latter being
used internall to support xsl:number)
|
| 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 PrecedingEnumeration(NodeInfo start, boolean includeAncestors)
start - the initial context nodeincludeAncestors - true if ancestors of the initial context node are to be included
in the resultpublic 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.