|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.om.AxisIteratorImpl
net.sf.saxon.tinytree.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.om.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 |
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.om.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 selected| Method Detail |
|---|
public boolean moveNext()
moveNext in interface AxisIteratormoveNext in class AxisIteratorImplpublic Item next()
public Item current()
current in interface SequenceIteratorcurrent in interface UnfailingIteratorcurrent in class AxisIteratorImpl
public Value atomize()
throws XPathException
atomize in interface AxisIteratoratomize in class AxisIteratorImplNullPointerException - if there is no current node
XPathExceptionpublic CharSequence getStringValue()
getStringValue in interface AxisIteratorgetStringValue in class AxisIteratorImplNullPointerException - if there is no current nodepublic SequenceIterator getAnother()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||