ORG.oclc.xml.om
Class ElementDeclEnumeration
java.lang.Object
|
+--ORG.oclc.xml.om.ElementDeclEnumeration
- public class ElementDeclEnumeration
- extends Object
- implements Enumeration
A simple Enumeration for iterating over ElementDecls
- See Also:
ElementDecl
,
Name
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ElementDeclEnumeration
public ElementDeclEnumeration(Enumeration elemDecls)
- Creates new enumerator for enumerating over all of the children
of the given root node.
ElementDeclEnumeration
public ElementDeclEnumeration(Element e)
- Creates new enumerator for enumerating over all of the children
of the given root node.
hasMoreElements
public boolean hasMoreElements()
- Return whether or not there are any more matching elements.
- Specified by:
- hasMoreElements in interface Enumeration
- Returns:
- true if the next call to nextElement will return
non null result.
nextElement
public Object nextElement()
- Return the next matching element.
- Specified by:
- nextElement in interface Enumeration
- Returns:
- Element or null of there are no more matching elements.