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
Field Summary |
java.lang.String |
value
|
Method Summary |
boolean |
equals(java.lang.Object ob)
|
java.lang.String |
getValue()
Retrieves the name value |
void |
setValue(java.lang.String aValue)
Sets the name value |
void |
write(java.io.PrintWriter out)
Writes out the value of this name |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public java.lang.String value
DTDName
public DTDName()
DTDName
public DTDName(java.lang.String aValue)
write
public void write(java.io.PrintWriter out)
throws java.io.IOException
- Writes out the value of this name
- Overrides:
write
in class DTDItem
equals
public boolean equals(java.lang.Object ob)
- Overrides:
equals
in class DTDItem
setValue
public void setValue(java.lang.String aValue)
- Sets the name value
getValue
public java.lang.String getValue()
- Retrieves the name value