final class AttributeEnumeration extends AxisIteratorImpl
current, positionGROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
AttributeEnumeration(TinyTree tree,
int element,
NodeTest nodeTest)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
atomize()
Return the atomized value of the current node.
|
Item |
current()
Get the current node in the sequence.
|
SequenceIterator |
getAnother()
Get another iteration over the same nodes
|
java.lang.CharSequence |
getStringValue()
Return the string value of the current node.
|
boolean |
moveNext()
Move to the next node in the iteration.
|
Item |
next()
Get the next item in the sequence.
|
close, getProperties, iterateAxis, positionAttributeEnumeration(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 boolean moveNext()
moveNext in interface AxisIteratormoveNext in class AxisIteratorImplpublic Item next()
public Item current()
current in interface SequenceIteratorcurrent in interface UnfailingIteratorcurrent in class AxisIteratorImplpublic Value atomize() throws XPathException
atomize in interface AxisIteratoratomize in class AxisIteratorImpljava.lang.NullPointerException - if there is no current nodeXPathExceptionpublic java.lang.CharSequence getStringValue()
getStringValue in interface AxisIteratorgetStringValue in class AxisIteratorImpljava.lang.NullPointerException - if there is no current nodepublic SequenceIterator getAnother()