All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xg.xg_Comment

java.lang.Object
   |
   +----com.sun.java.swing.tree.DefaultMutableTreeNode
           |
           +----xg.xg_Node
                   |
                   +----xg.xg_Comment

public class xg_Comment
extends xg_Node
Class xg_Comment - A representation of an XML comment.


Variable Index

 o CommentValue
The value of the comment itself (stripped of the at the end.

Constructor Index

 o xg_Comment()
Default constructor.

Method Index

 o getCommentValue()
Get the value of the comment.
 o getType()
Get the type of this node.
 o save(Writer)
Save this comment in XML source form in InputWriter.
 o setCommentValue(String)
Set the value of the comment.
 o toString()
Return a string representation of the comment.

Variables

 o CommentValue
 protected String CommentValue
The value of the comment itself (stripped of the at the end.

Constructors

 o xg_Comment
 public xg_Comment()
Default constructor.

Methods

 o save
 public void save(Writer InputWriter) throws IOException
Save this comment in XML source form in InputWriter.

Parameters:
InputWriter - The writer to which the XML will be written
Overrides:
save in class xg_Node
 o setCommentValue
 public void setCommentValue(String InputCommentValue)
Set the value of the comment.

Parameters:
InputCommentValue - The value of the comment
 o getType
 public int getType()
Get the type of this node.

Returns:
The type of this node
Overrides:
getType in class xg_Node
 o getCommentValue
 public String getCommentValue()
Get the value of the comment.

Returns:
The value of the comment
 o toString
 public String toString()
Return a string representation of the comment.

Returns:
A description suitable for display
Overrides:
toString in class xg_Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index