org.merlotxml.util.xml
Interface DTDElement

All Known Implementing Classes:
DTDElementImpl

public interface DTDElement

This is an interface that will provide DTD information about an element definition.

 
 

In the above example, the element's name is "blah", and it has a content spec with (foo?, bar+, baz*).

Version:
$Id: DTDElement.java,v 1.3 2000/03/10 05:31:17 camk Exp $
Author:
Kelly A. Campbell

Method Summary
 DTDAttribute getAttribute(java.lang.String name)
          Returns a single named attribute for this element
 java.util.Enumeration getAttributes()
          Returns the list of attributes
 DTDContentSpec getContentSpec()
          Deprecated.  
 java.lang.String getName()
          Returns the name of this element
 

Method Detail

getName

public java.lang.String getName()
Returns the name of this element

getContentSpec

public DTDContentSpec getContentSpec()
Deprecated.  

Returns the content spec of the element. Should not be used and will probably go away

getAttributes

public java.util.Enumeration getAttributes()
Returns the list of attributes
Returns:
an enumeration consisting of DTDAttribute objects or null

getAttribute

public DTDAttribute getAttribute(java.lang.String name)
Returns a single named attribute for this element