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.


Constructor Index

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

Method Index

 o getNodeType()
Get the type of this node, using only type values defined for the DOM.
 o getType()
Get the type of this node.
 o save(Writer)
Save this DTD (and its children) in XML source form in InputWriter.
 o toString()
Return a string representation of the DTD (intended for use as debug output).

Constructors

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

 o xg_Dtd
 public xg_Dtd(String InputNodeName)
Construct a DTD with a name.

Parameters:
InputNodeName - The name of the DTD

Methods

 o 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
 o getType
 public int getType()
Get the type of this node.

Returns:
The type of this node
Overrides:
getType in class xg_Node
 o 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
 o 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