final class FollowingIterator extends Object implements AxisIterator
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
position |
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
FollowingIterator(TinyTree doc,
TinyNodeImpl node,
NodeTest nodeTest,
boolean includeDescendants)
Create an iterator over the following axis
|
| 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, waitfirstWith, forEach, toGroundedValue, toListclose, forEachOrFail, getProperties, materializepublic FollowingIterator(TinyTree doc, TinyNodeImpl node, NodeTest nodeTest, boolean includeDescendants)
doc - the containing TinyTreenode - the start node. If the actual start was an attribute or namespace node, this will
be the parent element of that attribute or namespacenodeTest - condition that all the returned nodes must satisfyincludeDescendants - true if descendants of the start node are to be included. This will
be false if the actual start was an element node, true if it was an attribute or namespace node
(since the children of their parent follow the attribute or namespace in document order).public NodeInfo next()
UnfailingIteratornext in interface SequenceIterator<NodeInfo>next in interface AxisIteratornext in interface UnfailingIterator<NodeInfo>