The ElementEnumeration class of the com.ms.xml.om package is a simple Enumeration for iterating over the immediate children of a given node in the XML tree. This is not a hierarchical iterator. It does not traverse the entire tree.
public class ElementEnumeration implements Enumeration { // Constructors public ElementEnumeration(Element root); public ElementEnumeration(Element root, Name tag, int type); // Methods public boolean hasMoreElements(); public Object nextElement(); public void reset(); }