net.sf.saxon.tinytree

Class AttributeEnumeration

final class AttributeEnumeration extends AxisIteratorImpl

AttributeEnumeration is an iterator over all the attribute nodes of an Element.
Constructor Summary
AttributeEnumeration(TinyTree tree, int element, NodeTest nodeTest)
Constructor.
Method Summary
SequenceIteratorgetAnother()
Get another iteration over the same nodes
Itemnext()
Get the next node in the iteration.

Constructor Detail

AttributeEnumeration

AttributeEnumeration(TinyTree tree, int element, NodeTest nodeTest)
Constructor. Note: this constructor will only be called if the relevant node is an element and if it has one or more attributes. Otherwise an EmptyEnumeration will be constructed instead.

Parameters: tree: the containing TinyTree element: the node number of the element whose attributes are required nodeTest: condition to be applied to the names of the attributes selected

Method Detail

getAnother

public SequenceIterator getAnother()
Get another iteration over the same nodes

next

public Item next()
Get the next node in the iteration.