stuart.xmlApp.dtd
Class DTDContent

java.lang.Object
  |
  +--stuart.xmlApp.dtd.DTDContent
Direct Known Subclasses:
DTDElement

public abstract class DTDContent
extends java.lang.Object

An abstract class to act as the superclass to all DTD content. A DTD document may contain elements, entities and notations.


Field Summary
static java.lang.String ELEMENT
           
static java.lang.String ENTITY
           
static java.lang.String NOTATION
           
 
Constructor Summary
DTDContent()
           
 
Method Summary
abstract  java.lang.String getTag()
           
protected  void setContentType(java.lang.String ct)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values

ENTITY

public static final java.lang.String ENTITY
See Also:
Constant Field Values

NOTATION

public static final java.lang.String NOTATION
See Also:
Constant Field Values
Constructor Detail

DTDContent

public DTDContent()
Method Detail

setContentType

protected void setContentType(java.lang.String ct)
                       throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTag

public abstract java.lang.String getTag()