    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xg.xg_Cdata

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

public class xg_Cdata
extends xg_Text

A representation of a piece of character data (CDATA) within the content of an XML element.

##

xg_Cdata()
  Default constructor.
xg_Cdata(String)
  Construct a piece of character data with a value.

##

getNodeType()
  Get the type of this node, using only type values defined for the DOM.
getType()
  Get the type of this node.
save(Writer)
  Save this character data in XML source form in InputWriter.
toString()
  Return a string representation of the character data.
writeContent(Writer)
  Write this character data to InputWriter.

##

xg_Cdata

     public xg_Cdata()

  Default constructor.

xg_Cdata

     public xg_Cdata(String InputTextValue)

  Construct a piece of character data with a value.

  Parameters:
    InputTextValue - The value of the character data itself

##

save

     public void save(Writer InputWriter) throws IOException

  Save this character data in XML source form in InputWriter.

  Parameters:
    InputWriter - The writer to which the source will be written
  Overrides:
    save in class xg_Text

writeContent

     public void writeContent(Writer InputWriter) throws IOException

  Write this character data to InputWriter.

  Parameters:
    InputWriter - The writer to which the content will be written
  Overrides:
    writeContent in class xg_Text

getType

     public int getType()

  Get the type of this node.

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

getNodeType

     public int getNodeType()

  Get the type of this node, using only type values defined for the DOM. (Implements org.w3c.dom.Node.getNodeType.)

  Returns:
    The DOM type of this node
  Overrides:
    getNodeType in class xg_Node

toString

     public String toString()

  Return a string representation of the character data.

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

    All Packages  Class Hierarchy  This Package  Previous  Next  Index