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, wait
firstWith, forEach, toGroundedValue, toList
close, forEachOrFail, getProperties, materialize
public 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()
UnfailingIterator
next
in interface SequenceIterator<NodeInfo>
next
in interface AxisIterator
next
in interface UnfailingIterator<NodeInfo>
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.