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.
-
TextValue
- The value of the text itself.
-
xg_Text()
- Default constructor.
-
xg_Text(String)
- Construct a text with a value.
-
getTextValue()
- Get the value of the text.
-
getType()
- Get the type of this node.
-
save(Writer)
- Save this text in XML source form in InputWriter.
-
setTextValue(String)
- Set the value of this text.
-
toString()
- Return a string representation of the character data.
-
writeContent(Writer)
- Write this text to InputWriter.
TextValue
protected String TextValue
- The value of the text itself.
xg_Text
public xg_Text()
- Default constructor.
xg_Text
public xg_Text(String InputTextValue)
- Construct a text with a value.
- Parameters:
- InputTextValue - The value of the text itself
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
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
setTextValue
public void setTextValue(String InputTextValue)
- Set the value of this text.
- Parameters:
- InputTextValue - The value of the text itself
getType
public int getType()
- Get the type of this node.
- Returns:
- The type of this node
- Overrides:
- getType in class xg_Node
getTextValue
public String getTextValue()
- Get the value of the text.
- Returns:
- The value of the text
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