public static final class Navigator.PrecedingEnumeration extends java.lang.Object implements AxisIterator
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
close, discharge
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()
SequenceIterator
next
in interface SequenceIterator
next
in interface AxisIterator
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.