|
|
|||||||||||||
Class ElementEnumerationpublic 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(); } This class 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 walk the entire tree. Also see com.ms.xml.om.Element, Name ConstructorsElementEnumerationpublic ElementEnumeration(Element root); ElementEnumerationpublic ElementEnumeration(Element root, Name tag, int type); MethodshasMoreElementspublic boolean hasMoreElements(); nextElementpublic Object nextElement(); resetpublic void reset();
|
© 1998 Microsoft Corporation. All rights reserved. Terms of use. |