SequenceIterator
, AxisIterator
, UnfailingIterator
final class DescendantEnumeration extends AxisIteratorImpl
current, position
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor | Description |
---|---|
DescendantEnumeration(TinyTree doc,
TinyNodeImpl node,
NodeTest nodeTest,
boolean includeSelf) |
Create an iterator over the descendant axis
|
Modifier and Type | Method | Description |
---|---|---|
AxisIterator |
getAnother() |
Get another enumeration of the same nodes
|
NodeInfo |
next() |
Get the next item in the sequence.
|
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, position
DescendantEnumeration(TinyTree doc, TinyNodeImpl node, NodeTest nodeTest, boolean includeSelf)
doc
- the containing TinyTreenode
- the node whose descendants are requirednodeTest
- test to be satisfied by each returned nodeincludeSelf
- true if the start node is to be includedpublic NodeInfo next()
UnfailingIterator
public AxisIterator getAnother()