org.merlotxml.util.xml.xml4j
Class DTDElementImpl
java.lang.Object
|
+--org.merlotxml.util.xml.xml4j.DTDElementImpl
- public class DTDElementImpl
- extends java.lang.Object
- implements DTDElement, java.lang.Comparable
A DTDDocument based on the XML 4j package
- Version:
- $Id: DTDElementImpl.java,v 1.4 2000/05/27 03:30:59 camk Exp $
- Author:
- Kelly A. Campbell
Constructor Summary |
DTDElementImpl(com.ibm.xml.parser.DTD doc,
com.ibm.xml.parser.ElementDecl decl)
|
DTDElementImpl(com.ibm.xml.parser.DTD doc,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DTDElementImpl
public DTDElementImpl(com.ibm.xml.parser.DTD doc,
com.ibm.xml.parser.ElementDecl decl)
DTDElementImpl
public DTDElementImpl(com.ibm.xml.parser.DTD doc,
java.lang.String name)
getName
public java.lang.String getName()
- Description copied from interface: DTDElement
- Returns the name of this element
- Specified by:
- getName in interface DTDElement
getAttributes
public java.util.Enumeration getAttributes()
- Description copied from interface: DTDElement
- Returns the list of attributes
- Specified by:
- getAttributes in interface DTDElement
- Tags copied from interface: DTDElement
- Returns:
- an enumeration consisting of DTDAttribute objects or null
getAttribute
public DTDAttribute getAttribute(java.lang.String name)
- Description copied from interface: DTDElement
- Returns a single named attribute for this element
- Specified by:
- getAttribute in interface DTDElement
getContentSpec
public DTDContentSpec getContentSpec()
- Description copied from interface: DTDElement
- Returns the content spec of the element. Should not be used and
will probably go away
- Specified by:
- getContentSpec in interface DTDElement
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
- compareTo in interface java.lang.Comparable