sjg.xml
Class Comment

java.lang.Object
  extended by sjg.xml.Comment

public class Comment
extends java.lang.Object

Represent an XML-comment.


Constructor Summary
Comment(java.lang.String text)
          Constructs a new data comment containing the given data.
 
Method Summary
 java.lang.String getText()
          Returns the text of this comment.
 java.lang.String toString()
          Returns the data of this data section.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment(java.lang.String text)
Constructs a new data comment containing the given data.

Method Detail

getText

public java.lang.String getText()
Returns the text of this comment.


toString

public java.lang.String toString()
Returns the data of this data section.

Overrides:
toString in class java.lang.Object