public static final class Navigator.DescendantEnumeration extends java.lang.Object implements AxisIterator
SequenceIterator.Property| Constructor and Description |
|---|
DescendantEnumeration(NodeInfo start,
boolean includeSelf,
boolean forwards)
Create an iterator over the descendant or descendant-or-self axis
|
| Modifier and Type | Method and Description |
|---|---|
void |
advance() |
NodeInfo |
next()
Get the next item in the sequence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasIterator, forEachNodeforEach, toListclose, forEachOrFail, getProperties, materializepublic DescendantEnumeration(NodeInfo start, boolean includeSelf, boolean forwards)
start - the initial context nodeincludeSelf - true if the "self" node is to be includedforwards - true for a forwards iteration, false for reverse orderpublic final NodeInfo next()
UnfailingIteratornext in interface SequenceIteratornext in interface AxisIteratornext in interface UnfailingIteratorpublic void advance()
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.