net.sf.saxon.tree
final class AttributeEnumeration extends AxisIteratorImpl implements LookaheadIterator
Constructor Summary | |
---|---|
AttributeEnumeration(NodeImpl node, NodeTest nodeTest)
Constructor |
Method Summary | |
---|---|
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. |
Parameters: 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 empty nodeTest: condition to be applied to the names of the attributes selected
Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and 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.