com.wutka.dtd
Class DTDComment
java.lang.Object
|
+--com.wutka.dtd.DTDComment
- All Implemented Interfaces:
- DTDOutput
- public class DTDComment
- extends java.lang.Object
- implements DTDOutput
Represents a comment in the DTD
Field Summary |
java.lang.String |
text
The comment text |
Method Summary |
boolean |
equals(java.lang.Object ob)
|
java.lang.String |
getText()
Returns the comment text |
void |
setText(java.lang.String theText)
Sets the comment text |
java.lang.String |
toString()
|
void |
write(java.io.PrintWriter out)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
public java.lang.String text
- The comment text
DTDComment
public DTDComment()
DTDComment
public DTDComment(java.lang.String theText)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(java.io.PrintWriter out)
throws java.io.IOException
- Specified by:
write
in interface DTDOutput
equals
public boolean equals(java.lang.Object ob)
- Overrides:
equals
in class java.lang.Object
setText
public void setText(java.lang.String theText)
- Sets the comment text
getText
public java.lang.String getText()
- Returns the comment text