public static class SteppingNavigator.DescendantAxisIterator<N extends SteppingNode<N>> extends java.lang.Object implements AxisIterator
SequenceIterator.Property
Constructor and Description |
---|
DescendantAxisIterator(N start,
boolean includeSelf,
java.util.function.Predicate<? super NodeInfo> test)
Create an iterator over the descendant or descendant-or-self axis
|
Modifier and Type | Method and Description |
---|---|
N |
next()
Get the next item in the sequence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asIterator, forEachNode
forEach, toList
close, forEachOrFail, getProperties, materialize
public DescendantAxisIterator(N start, boolean includeSelf, java.util.function.Predicate<? super NodeInfo> test)
start
- the root of the subtree whose descendants are requiredincludeSelf
- true if this is the descendant-or-self axistest
- the node-test that selected nodes must satisfypublic N next()
UnfailingIterator
next
in interface SequenceIterator
next
in interface AxisIterator
next
in interface UnfailingIterator
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.