AtomizableIterator
, AxisIterator
, SequenceIterator
final class AttributeEnumeration extends AxisIteratorImpl
current, position
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor | Description |
---|---|
AttributeEnumeration(TinyTree tree,
int element,
NodeTest nodeTest) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
SequenceIterator |
getAnother() |
Get another iteration over the same nodes
|
Item |
next() |
Get the next node in the iteration.
|
current, getProperties, isAtomizing, position, setIsAtomizing
AttributeEnumeration(TinyTree tree, int element, NodeTest nodeTest)
tree
- : the containing TinyTreeelement
- : the node number of the element whose attributes are requirednodeTest
- : condition to be applied to the names of the attributes selectedpublic Item next()
public SequenceIterator getAnother()