final class AttributeEnumeration extends AxisIteratorImpl implements LookaheadIterator
current, positionGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
AttributeEnumeration(NodeImpl node,
NodeTest nodeTest)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
SequenceIterator |
getAnother()
Get another enumeration of the same nodes
|
int |
getProperties()
Get properties of this iterator, as a bit-significant integer.
|
boolean |
hasNext()
Test if there are mode nodes still to come.
|
Item |
next()
Get the next node in the iteration, or null if there are no more.
|
atomize, close, current, getStringValue, iterateAxis, moveNext, positionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, current, positionpublic AttributeEnumeration(NodeImpl node, NodeTest nodeTest)
node: - the element whose attributes are required. This may be any type of node,
but if it is not an element the enumeration will be emptynodeTest: - condition to be applied to the names of the attributes selectedpublic boolean hasNext()
hasNext in interface LookaheadIteratorpublic Item next()
next in interface SequenceIteratornext in interface UnfailingIteratorpublic SequenceIterator getAnother()
getAnother in interface SequenceIteratorgetAnother in interface UnfailingIteratorpublic int getProperties()
getProperties in interface SequenceIteratorgetProperties in class AxisIteratorImplSequenceIterator.GROUNDED, SequenceIterator.LAST_POSITION_FINDER,
and SequenceIterator.LOOKAHEAD. It is always
acceptable to return the value zero, indicating that there are no known special properties.
It is acceptable for the properties of the iterator to change depending on its state.