|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.tree.iter.AxisIteratorImpl
net.sf.saxon.tree.tiny.AttributeEnumeration
final class AttributeEnumeration
AttributeEnumeration is an iterator over all the attribute nodes of an Element.
Field Summary |
---|
Fields inherited from class net.sf.saxon.tree.iter.AxisIteratorImpl |
---|
current, position |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
---|
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
---|---|
AttributeEnumeration(TinyTree tree,
int element,
NodeTest nodeTest)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class net.sf.saxon.tree.iter.AxisIteratorImpl |
---|
close, getProperties, iterateAxis, position |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
AttributeEnumeration(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 selectedMethod Detail |
---|
public boolean moveNext()
moveNext
in interface AxisIterator
moveNext
in class AxisIteratorImpl
public Item next()
public Item current()
current
in interface SequenceIterator
current
in interface UnfailingIterator
current
in class AxisIteratorImpl
public Value atomize() throws XPathException
atomize
in interface AxisIterator
atomize
in class AxisIteratorImpl
java.lang.NullPointerException
- if there is no current node
XPathException
public java.lang.CharSequence getStringValue()
getStringValue
in interface AxisIterator
getStringValue
in class AxisIteratorImpl
java.lang.NullPointerException
- if there is no current nodepublic SequenceIterator getAnother()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |