    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.

##

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

##

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

##

addAttDecl(xg_AttDecl)
  Add an attribute declaration.
getNodeType()
  Get the type of this node, using only type values defined for the DOM.
getType()
  Get the type of this node.
initialise()
  Initialise the vector of the allowed attribute types.
save(Writer)
  Save this attribute list declaration (and its children) in XML source form in InputWriter.
toString()
  Return a string representation of the element (intended for use as debug output).

##

AttDeclList

     protected Vector AttDeclList

  List of xg_AttDecls.

ATT_TYPE_ENUMERATION

     public static final int ATT_TYPE_ENUMERATION

ATT_TYPE_NOTATION

     public static final int ATT_TYPE_NOTATION

  Enumerated

ATT_TYPE_CDATA

     public static final int ATT_TYPE_CDATA

  Enumerated

ATT_TYPE_ID

     public static final int ATT_TYPE_ID

  String

ATT_TYPE_IDREF

     public static final int ATT_TYPE_IDREF

  Tokenized

ATT_TYPE_IDREFS

     public static final int ATT_TYPE_IDREFS

  Tokenized

ATT_TYPE_ENTITY

     public static final int ATT_TYPE_ENTITY

  Tokenized

ATT_TYPE_ENTITIES

     public static final int ATT_TYPE_ENTITIES

  Tokenized

ATT_TYPE_NMTOKEN

     public static final int ATT_TYPE_NMTOKEN

  Tokenized

ATT_TYPE_NMTOKENS

     public static final int ATT_TYPE_NMTOKENS

  Tokenized

ATT_TYPE_CDATA_STRING

     public static final String ATT_TYPE_CDATA_STRING

  Tokenized

ATT_TYPE_ENTITY_STRING

     public static final String ATT_TYPE_ENTITY_STRING

ATT_TYPE_ENTITIES_STRING

     public static final String ATT_TYPE_ENTITIES_STRING

ATT_TYPE_ID_STRING

     public static final String ATT_TYPE_ID_STRING

ATT_TYPE_IDREF_STRING

     public static final String ATT_TYPE_IDREF_STRING

ATT_TYPE_IDREFS_STRING

     public static final String ATT_TYPE_IDREFS_STRING

ATT_TYPE_NMTOKEN_STRING

     public static final String ATT_TYPE_NMTOKEN_STRING

ATT_TYPE_NMTOKENS_STRING

     public static final String ATT_TYPE_NMTOKENS_STRING

ATT_TYPE_NOTATION_STRING

     public static final String ATT_TYPE_NOTATION_STRING

##

xg_AttListDecl

     public xg_AttListDecl()

  Construct an attribute list declaration with no type and no name.

xg_AttListDecl

     public xg_AttListDecl(String InputNodeName)

  Construct an attribute list declaration with a name.

  Parameters:
    InputNodeName - The name of the attribute list

##

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

addAttDecl

     public void addAttDecl(xg_AttDecl InputAttDecl)

  Add an attribute declaration.

  Parameters:
    InputAttDecl - The attribute declaration to be added

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

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

initialise

     public static void initialise()

  Initialise the vector of the allowed attribute types.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index