com.wutka.dtd
Class DTDComment

java.lang.Object
  extended by com.wutka.dtd.DTDComment
All Implemented Interfaces:
DTDOutput

public class DTDComment
extends java.lang.Object
implements DTDOutput

Represents a comment 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 text
          The comment text
 
Constructor Summary
DTDComment()
           
DTDComment(java.lang.String theText)
           
 
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
 

Field Detail

text

public java.lang.String text
The comment text

Constructor Detail

DTDComment

public DTDComment()

DTDComment

public DTDComment(java.lang.String theText)
Method Detail

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
Throws:
java.io.IOException

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



Copyright (c) 2001 Mark Wutka.