com.wutka.dtd
Class DTDName

java.lang.Object
  |
  +--com.wutka.dtd.DTDItem
        |
        +--com.wutka.dtd.DTDName
All Implemented Interfaces:
DTDOutput

public class DTDName
extends DTDItem

Represents a named item in the DTD

Version:
$Revision: 1.12 $ $Date: 2000/09/01 13:21:05 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary
 String value
           
 
Fields inherited from class com.wutka.dtd.DTDItem
cardinal
 
Constructor Summary
DTDName()
           
DTDName(String aValue)
           
 
Method Summary
 boolean equals(Object ob)
           
 String getValue()
          Retrieves the name value
 void setValue(String aValue)
          Sets the name value
 void write(PrintWriter out)
          Writes out the value of this name
 
Methods inherited from class com.wutka.dtd.DTDItem
getCardinal, setCardinal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public String value
Constructor Detail

DTDName

public DTDName()

DTDName

public DTDName(String aValue)
Method Detail

write

public void write(PrintWriter out)
           throws IOException
Writes out the value of this name
Overrides:
write in class DTDItem

equals

public boolean equals(Object ob)
Overrides:
equals in class DTDItem

setValue

public void setValue(String aValue)
Sets the name value

getValue

public String getValue()
Retrieves the name value