All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xg.xg_Text

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

public class xg_Text
extends xg_Node
A representation of a piece of text within the content of an XML element.


Variable Index

 o TextValue
The value of the text itself.

Constructor Index

 o xg_Text()
Default constructor.
 o xg_Text(String)
Construct a text with a value.

Method Index

 o getTextValue()
Get the value of the text.
 o getType()
Get the type of this node.
 o save(Writer)
Save this text in XML source form in InputWriter.
 o setTextValue(String)
Set the value of this text.
 o toString()
Return a string representation of the character data.
 o writeContent(Writer)
Write this text to InputWriter.

Variables

 o TextValue
 protected String TextValue
The value of the text itself.

Constructors

 o xg_Text
 public xg_Text()
Default constructor.

 o xg_Text
 public xg_Text(String InputTextValue)
Construct a text with a value.

Parameters:
InputTextValue - The value of the text itself

Methods

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

Parameters:
InputWriter - The writer to which the XML will be written
Overrides:
save in class xg_Node
 o writeContent
 public void writeContent(Writer InputWriter) throws IOException
Write this text to InputWriter.

Parameters:
InputWriter - The writer to which the content will be written
Overrides:
writeContent in class xg_Node
 o setTextValue
 public void setTextValue(String InputTextValue)
Set the value of this text.

Parameters:
InputTextValue - The value of the text itself
 o getType
 public int getType()
Get the type of this node.

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

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

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index