javax.swing.text.html.parser
Class AttributeList

java.lang.Object
  |
  +--javax.swing.text.html.parser.AttributeList
All Implemented Interfaces:
DTDConstants, Serializable

public final class AttributeList
extends Object
implements DTDConstants, Serializable

Untamed:

See Also:
Serialized Form

Field Summary
(package private) static Hashtable attributeTypes
          Create a hashtable of attribute types.
 int modifier
          Enabled:
 String name
          Enabled:
 AttributeList next
          Enabled:
 int type
          Enabled:
 String value
          Enabled:
 Vector values
          Enabled:
 
Fields inherited from interface javax.swing.text.html.parser.DTDConstants
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM
 
Constructor Summary
(package private) AttributeList()
           
  AttributeList(String name)
          Enabled: Create an attribute list element.
  AttributeList(String name, int type, int modifier, String value, Vector values, AttributeList next)
          Enabled: Create an attribute list element.
 
Method Summary
(package private) static void defineAttributeType(String nm, int val)
           
 int getModifier()
          Enabled: @return attribute modifier
 String getName()
          Enabled: @return attribute name
 AttributeList getNext()
          Enabled: @return the next attribute in the list
 int getType()
          Enabled: @return attribute type
 String getValue()
          Enabled: @return default attribute value
 Enumeration getValues()
          Enabled: @return possible attribute values
static int name2type(String nm)
          Enabled:
 String toString()
          Suppressed: @return string representation
static String type2name(int tp)
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
Enabled:


type

public int type
Enabled:


values

public Vector values
Enabled:


modifier

public int modifier
Enabled:


value

public String value
Enabled:


next

public AttributeList next
Enabled:


attributeTypes

static Hashtable attributeTypes
Create a hashtable of attribute types.

Constructor Detail

AttributeList

AttributeList()

AttributeList

public AttributeList(String name)
Enabled: Create an attribute list element.


AttributeList

public AttributeList(String name,
                     int type,
                     int modifier,
                     String value,
                     Vector values,
                     AttributeList next)
Enabled: Create an attribute list element.

Method Detail

getName

public String getName()
Enabled: @return attribute name


getType

public int getType()
Enabled: @return attribute type

See Also:
DTDConstants

getModifier

public int getModifier()
Enabled: @return attribute modifier

See Also:
DTDConstants

getValues

public Enumeration getValues()
Enabled: @return possible attribute values


getValue

public String getValue()
Enabled: @return default attribute value


getNext

public AttributeList getNext()
Enabled: @return the next attribute in the list


toString

public String toString()
Suppressed: @return string representation

Overrides:
toString in class Object
Returns:
a string representation of the object.

defineAttributeType

static void defineAttributeType(String nm,
                                int val)

name2type

public static int name2type(String nm)
Enabled:


type2name

public static String type2name(int tp)
Enabled:



comments?