electric.xml
Class Children

java.lang.Object
  extended byelectric.xml.Nodes
      extended byelectric.xml.Children
All Implemented Interfaces:
java.util.Enumeration

public final class Children
extends Nodes

Children is an enumeration over a collection of child nodes. To iterate through the collection in a typesafe way, use current(), first() and next().

Author:
webMethods

Field Summary
 
Fields inherited from class electric.xml.Nodes
current, list
 
Method Summary
 Child current()
          Return the current Child, or null if there is none.
 Child first()
          Move to the first Child and return it, or null if there is none.
 Child next()
          Return the current Child 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
 

Method Detail

current

public Child current()
Return the current Child, or null if there is none.


first

public Child first()
Move to the first Child and return it, or null if there is none.


next

public Child next()
Return the current Child and then advance to the next one if present.



copyright© 2001-2004 by webMethods All Rights Reserved.