All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xg.xg_AttListDecl

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

public class xg_AttListDecl
extends xg_Node
Class xg_AttListDecl - An attribute list declaration, within a DTD.


Variable Index

 o ATT_TYPE_CDATA
Enumerated
 o ATT_TYPE_CDATA_STRING
Tokenized
 o ATT_TYPE_ENTITIES
Tokenized
 o ATT_TYPE_ENTITIES_STRING
 o ATT_TYPE_ENTITY
Tokenized
 o ATT_TYPE_ENTITY_STRING
 o ATT_TYPE_ENUMERATION
 o ATT_TYPE_ID
String
 o ATT_TYPE_ID_STRING
 o ATT_TYPE_IDREF
Tokenized
 o ATT_TYPE_IDREF_STRING
 o ATT_TYPE_IDREFS
Tokenized
 o ATT_TYPE_IDREFS_STRING
 o ATT_TYPE_NMTOKEN
Tokenized
 o ATT_TYPE_NMTOKEN_STRING
 o ATT_TYPE_NMTOKENS
Tokenized
 o ATT_TYPE_NMTOKENS_STRING
 o ATT_TYPE_NOTATION
Enumerated
 o ATT_TYPE_NOTATION_STRING
 o AttDeclList
List of xg_AttDecls.

Constructor Index

 o xg_AttListDecl()
Construct an attribute list declaration with no type and no name.
 o xg_AttListDecl(String)
Construct an attribute list declaration with a name.

Method Index

 o addAttDecl(xg_AttDecl)
Add an attribute declaration.
 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 initialise()
Initialise the vector of the allowed attribute types.
 o save(Writer)
Save this attribute list declaration (and its children) in XML source form in InputWriter.
 o toString()
Return a string representation of the element (intended for use as debug output).

Variables

 o AttDeclList
 protected Vector AttDeclList
List of xg_AttDecls.

 o ATT_TYPE_ENUMERATION
 public static final int ATT_TYPE_ENUMERATION
 o ATT_TYPE_NOTATION
 public static final int ATT_TYPE_NOTATION
Enumerated

 o ATT_TYPE_CDATA
 public static final int ATT_TYPE_CDATA
Enumerated

 o ATT_TYPE_ID
 public static final int ATT_TYPE_ID
String

 o ATT_TYPE_IDREF
 public static final int ATT_TYPE_IDREF
Tokenized

 o ATT_TYPE_IDREFS
 public static final int ATT_TYPE_IDREFS
Tokenized

 o ATT_TYPE_ENTITY
 public static final int ATT_TYPE_ENTITY
Tokenized

 o ATT_TYPE_ENTITIES
 public static final int ATT_TYPE_ENTITIES
Tokenized

 o ATT_TYPE_NMTOKEN
 public static final int ATT_TYPE_NMTOKEN
Tokenized

 o ATT_TYPE_NMTOKENS
 public static final int ATT_TYPE_NMTOKENS
Tokenized

 o ATT_TYPE_CDATA_STRING
 public static final String ATT_TYPE_CDATA_STRING
Tokenized

 o ATT_TYPE_ENTITY_STRING
 public static final String ATT_TYPE_ENTITY_STRING
 o ATT_TYPE_ENTITIES_STRING
 public static final String ATT_TYPE_ENTITIES_STRING
 o ATT_TYPE_ID_STRING
 public static final String ATT_TYPE_ID_STRING
 o ATT_TYPE_IDREF_STRING
 public static final String ATT_TYPE_IDREF_STRING
 o ATT_TYPE_IDREFS_STRING
 public static final String ATT_TYPE_IDREFS_STRING
 o ATT_TYPE_NMTOKEN_STRING
 public static final String ATT_TYPE_NMTOKEN_STRING
 o ATT_TYPE_NMTOKENS_STRING
 public static final String ATT_TYPE_NMTOKENS_STRING
 o ATT_TYPE_NOTATION_STRING
 public static final String ATT_TYPE_NOTATION_STRING

Constructors

 o xg_AttListDecl
 public xg_AttListDecl()
Construct an attribute list declaration with no type and no name.

 o xg_AttListDecl
 public xg_AttListDecl(String InputNodeName)
Construct an attribute list declaration with a name.

Parameters:
InputNodeName - The name of the attribute list

Methods

 o save
 public void save(Writer InputWriter) throws IOException
Save this attribute list declaration (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 addAttDecl
 public void addAttDecl(xg_AttDecl InputAttDecl)
Add an attribute declaration.

Parameters:
InputAttDecl - The attribute declaration to be added
 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 element (intended for use as debug output).

Returns:
String representing the entity name.
Overrides:
toString in class xg_Node
 o initialise
 public static void initialise()
Initialise the vector of the allowed attribute types.


All Packages  Class Hierarchy  This Package  Previous  Next  Index