2004.04.29


com.jdc.xml
Class Comment

java.lang.Object
  |
  +--com.jdc.xml.Comment

public class Comment
extends Object

Comment.java is

Version:
1.0
Author:
Jay Damon
See Also:

Constructor Summary
Comment()
          Constructs a new XML Comment object.
 
Method Summary
 String getText()
          Returns the comment text.
 void setText(String text)
          Sets the comment text.
 String toString()
          Returns a String representation of this comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Constructs a new XML Comment object.

Method Detail

getText

public String getText()
Returns the comment text.

Returns:
The comment text.

setText

public void setText(String text)
Sets the comment text.


toString

public String toString()
Returns a String representation of this comment.

Overrides:
toString in class Object
Returns:
A String representation of this comment.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.