org.merlotxml.util.xml
Interface DTDElement

All Known Implementing Classes:
DTDElementImpl

Deprecated. Use GrammarComplexType.

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*).

Author:
Kelly A. Campbell

Method Summary
 DTDAttribute getAttribute(java.lang.String name)
          Deprecated. Use GrammarComplexType.
 java.util.Enumeration getAttributes()
          Deprecated. Use GrammarComplexType.
 DTDContentSpec getContentSpec()
          Deprecated.  
 java.lang.String getName()
          Deprecated. Use GrammarComplexType.
 

Method Detail

getName

public java.lang.String getName()
Deprecated. Use GrammarComplexType.

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()
Deprecated. Use GrammarComplexType.

Returns the list of attributes

Returns:
an enumeration consisting of DTDAttribute objects or null

getAttribute

public DTDAttribute getAttribute(java.lang.String name)
Deprecated. Use GrammarComplexType.

Returns a single named attribute for this element