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.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
- Author:
- Mark Wutka
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
- Specified by:
write
in interface DTDOutput
- Specified by:
write
in class DTDItem
- Throws:
java.io.IOException
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
Copyright (c) 2001 Mark Wutka.