simkin
Class XMLElementObjectEnumerator

java.lang.Object
  |
  +--simkin.XMLElementObjectEnumerator

public class XMLElementObjectEnumerator
extends java.lang.Object

This class enumerates the elements in an XMLElementObject


Constructor Summary
XMLElementObjectEnumerator(XMLElementObject elementObject)
          Constructor - enumerates over every child node of this object
XMLElementObjectEnumerator(XMLElementObject elementObject, java.lang.String tagName)
          Constructor - enumerates over children of this object with the matching tag
 
Method Summary
 XMLElementObject next()
          returns the next object in the enumeration - or null if there are no more
 void reset()
          This method resets the enumeration to the beginning - you can now iterate over the list again
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLElementObjectEnumerator

public XMLElementObjectEnumerator(XMLElementObject elementObject)
Constructor - enumerates over every child node of this object

XMLElementObjectEnumerator

public XMLElementObjectEnumerator(XMLElementObject elementObject,
                                  java.lang.String tagName)
Constructor - enumerates over children of this object with the matching tag
Method Detail

reset

public void reset()
This method resets the enumeration to the beginning - you can now iterate over the list again

next

public XMLElementObject next()
returns the next object in the enumeration - or null if there are no more