AtomizableIterator, AxisIterator, SequenceIteratorfinal class DescendantEnumeration extends AxisIteratorImpl
current, positionATOMIZABLE, 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 |
|---|---|---|
SequenceIterator |
getAnother() |
Get another enumeration of the same nodes
|
Item |
next() |
Get the next item in the sequence.
|
current, getProperties, isAtomizing, position, setIsAtomizingDescendantEnumeration(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 Item next()
AxisIteratorpublic SequenceIterator getAnother()