    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.

##

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

##

xg_Comment()
  Default constructor.

##

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

##

CommentValue

     protected String CommentValue

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

##

xg_Comment

     public xg_Comment()

  Default constructor.

##

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

setCommentValue

     public void setCommentValue(String InputCommentValue)

  Set the value of the comment.

  Parameters:
    InputCommentValue - The value of the comment

getType

     public int getType()

  Get the type of this node.

  Returns:
    The type of this node
  Overrides:
    getType in class xg_Node

getCommentValue

     public String getCommentValue()

  Get the value of the comment.

  Returns:
    The value of the comment

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