public interface AxisIterator extends UnfailingIterator
SequenceIterator.Property| Modifier and Type | Method and Description |
|---|---|
default java.util.Iterator<NodeInfo> |
asIterator()
Get a Java
Iterator over the same nodes as this AxisIterator. |
default void |
forEachNode(java.util.function.Consumer<? super NodeInfo> consumer) |
NodeInfo |
next()
Get the next item in the sequence.
|
forEach, toListclose, forEachOrFail, getProperties, materializeNodeInfo next()
UnfailingIteratornext in interface SequenceIteratornext in interface UnfailingIteratordefault java.util.Iterator<NodeInfo> asIterator()
Iterator over the same nodes as this AxisIterator.
This is normally called when the iterator is positioned at the start; in principle,
however, it can be called at any point in the iteration. The Java iterator picks
up where the original AxisIterator left offIterator over the same nodes as this AxisIterator.default void forEachNode(java.util.function.Consumer<? super NodeInfo> consumer)
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.