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, toList
close, forEachOrFail, getProperties, materialize
NodeInfo next()
UnfailingIterator
next
in interface SequenceIterator
next
in interface UnfailingIterator
default 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-2020 Saxonica Limited. All rights reserved.