    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xg.xg_Dtd

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

public class xg_Dtd
extends xg_Node

Class xg_Dtd - A Document Type Definition.

##

xg_Dtd()
  Construct a DTD with no type and no name.
xg_Dtd(String)
  Construct a DTD with a name.

##

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 DTD (and its children) in XML source form in InputWriter.
toString()
  Return a string representation of the DTD (intended for use as debug output).

##

xg_Dtd

     public xg_Dtd()

  Construct a DTD with no type and no name.

xg_Dtd

     public xg_Dtd(String InputNodeName)

  Construct a DTD with a name.

  Parameters:
    InputNodeName - The name of the DTD

##

save

     public void save(Writer InputWriter) throws IOException

  Save this DTD (and its children) in XML source form in InputWriter.

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

getType

     public int getType()

  Get the type of this node.

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

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 DTD (intended for use as debug output).

  Returns:
    String representing the DTD name.
  Overrides:
    toString in class xg_Node

    All Packages  Class Hierarchy  This Package  Previous  Next  Index