com.wutka.dtd
Class DTDComment
java.lang.Object
|
+--com.wutka.dtd.DTDComment
- All Implemented Interfaces:
- DTDOutput
- public class DTDComment
- extends Object
- implements DTDOutput
Represents a comment in the DTD
- Version:
- $Revision: 1.12 $ $Date: 2000/09/01 13:21:05 $ by $Author: wutka $
- Author:
- Mark Wutka
text
public String text
- The comment text
DTDComment
public DTDComment()
DTDComment
public DTDComment(String theText)
toString
public String toString()
- Overrides:
toString
in class Object
write
public void write(PrintWriter out)
throws IOException
- Specified by:
write
in interface DTDOutput
equals
public boolean equals(Object ob)
- Overrides:
equals
in class Object
setText
public void setText(String theText)
- Sets the comment text
getText
public String getText()
- Returns the comment text