final class FollowingEnumeration extends AxisIteratorImpl
current, position
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
FollowingEnumeration(TinyTree doc,
TinyNodeImpl node,
NodeTest nodeTest,
boolean includeDescendants)
Create an iterator over the following axis
|
Modifier and Type | Method and Description |
---|---|
SequenceIterator |
getAnother()
Get another enumeration of the same nodes
|
Item |
next()
Get the next item in the sequence.
|
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, position
public FollowingEnumeration(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 Item next()
SequenceIterator
public SequenceIterator getAnother()