ORG.oclc.xml.parser
Class ElementDeclEnumeration
java.lang.Object
|
+--ORG.oclc.xml.parser.ElementDeclEnumeration
- public class ElementDeclEnumeration
- extends Object
- implements Enumeration
A simple Enumeration for iterating over Element declarations.
Returns the XML-DATA specification for each element.
This is DTD information represented in an XML Object Model.
See Specification for XML-Data for details.
- 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.