Open SiteSearch 4.1.1
Final

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

Constructor Summary
ElementDeclEnumeration(Element e)
          Creates new enumerator for enumerating over all of the children of the given root node.
ElementDeclEnumeration(Enumeration elemDecls)
          Creates new enumerator for enumerating over all of the children of the given root node.
 
Method Summary
 boolean hasMoreElements()
          Return whether or not there are any more matching elements.
 Object nextElement()
          Return the next matching element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

Open SiteSearch 4.1.1
Final