final class AttributeIterator extends Object implements AxisIterator, AtomizedValueIterator<NodeInfo>
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
AttributeIterator(TinyTree tree,
int element,
NodeTest nodeTest)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getProperties()
Get properties of this iterator, as a bit-significant integer.
|
NodeInfo |
next()
Get the next item in the sequence.
|
AtomicSequence |
nextAtomizedValue()
Deliver the atomic value that is next in the atomized result
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfirstWith, forEach, toGroundedValue, toListclose, forEachOrFail, materializeAttributeIterator(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 NodeInfo next()
next in interface SequenceIterator<NodeInfo>next in interface AxisIteratornext in interface UnfailingIterator<NodeInfo>public AtomicSequence nextAtomizedValue() throws XPathException
nextAtomizedValue in interface AtomizedValueIterator<NodeInfo>XPathException - if a failure occurs reading or atomizing the next valuepublic int getProperties()
getProperties in interface SequenceIterator<NodeInfo>SequenceIterator.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.