Microsoft SDK for Java

ElementEnumeration Class

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();
}

See Also

com.ms.xml.om.Element

© 1999 Microsoft Corporation. All rights reserved. Terms of use.