Package net.sf.saxon.tree.tiny
Class AttributeInfoIterator
java.lang.Object
net.sf.saxon.tree.tiny.AttributeInfoIterator
- All Implemented Interfaces:
Iterator<AttributeInfo>
AttributeIterator is an iterator over all the attribute nodes of an Element in the TinyTree.
-
Constructor Details
-
AttributeInfoIterator
AttributeInfoIterator(TinyTree tree, int element) 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 TinyTreeelement
- : the node number of the element whose attributes are required
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<AttributeInfo>
-
next
- Specified by:
next
in interfaceIterator<AttributeInfo>
-