|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.xml.Nodes
electric.xml.Attributes
Attributes is an enumeration over a collection of attributes. To iterate through the collection in a typesafe way, use current(), first() and next().
Field Summary |
Fields inherited from class electric.xml.Nodes |
current, list |
Constructor Summary | |
Attributes(NodeList list)
Construct an Attributes associated with the specified node list. |
Method Summary | |
Attribute |
current()
Return the current Attribute, or null if there is none. |
Attribute |
first()
Move to the first Attribute and return it, or null if there is none. |
Attribute |
next()
Return the current Attribute and then advance to the next one if present. |
Methods inherited from class electric.xml.Nodes |
currentNode, firstNode, getNodeList, hasMoreElements, nextElement, nextNode, remove, reset, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Attributes(NodeList list)
list
- The list of Attribute nodes.Method Detail |
public Attribute current()
public Attribute first()
public Attribute next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |