| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.xml.Nodes
electric.xml.Elements
Elements is an enumeration over a collection of elements. 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 | |
Elements(Element element)
Construct an Elements associated with the single specific element.  | 
|
Elements(NodeList list)
Construct an Elements associated with the specified node list.  | 
|
| Method Summary | |
 Element | 
current()
Return the current Element, or null if there is none.  | 
 Element | 
first()
Move to the first Element and return it, or null if there is none.  | 
 Element | 
next()
Return the current Element 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 Elements(NodeList list)
list - The list of Element nodes.public Elements(Element element)
element - The element.| Method Detail | 
public Element current()
public Element first()
public Element next()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||