    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xg.xg_PI

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

public class xg_PI
extends xg_Node

An XML processing instruction.

##

InstructionString

##

xg_PI()
  Default constructor.
xg_PI(String)
  Construct a processing instruction with a name.

##

getInstructionString()
  Get the value of the instruction.
getSummaryString()
  Get a summary descriptive string (intended for display in the tree view).
getType()
  Get the type of this node.
save(Writer)
  Save this processing instruction in XML source form in InputWriter.
setInstructionString(String)
  Set the value of the processing instruction.

##

InstructionString

     protected String InstructionString

##

xg_PI

     public xg_PI()

  Default constructor.

xg_PI

     public xg_PI(String InputNodeName)

  Construct a processing instruction with a name.

  Parameters:
    InputNodeName - The name of the node

##

save

     public void save(Writer InputWriter) throws IOException

  Save this processing instruction in XML source form in InputWriter.

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

setInstructionString

     public void setInstructionString(String InputInstructionString)

  Set the value of the processing instruction.

  Parameters:
    InputInstructionString - The value of the instruction itself

getType

     public int getType()

  Get the type of this node.

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

getSummaryString

     public String getSummaryString()

  Get a summary descriptive string (intended for display in the tree view).

  Returns:
    A description suitable for display in the tree view
  Overrides:
    getSummaryString in class xg_Node

getInstructionString

     public String getInstructionString()

  Get the value of the instruction.

  Returns:
    The value of the instruction

    All Packages  Class Hierarchy  This Package  Previous  Next  Index