It is actually an element in a linked list. Use the getNext() method repeatedly to enumerate all the attributes of an element.
Element
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static Hashtable | attributeTypes
Create a hashtable of attribute types. |
| public int | modifier
The attribute modifier |
| public String | name
The attribute name |
| public AttributeList | next
The next attribute in the list |
| public int | type
The attribute type |
| public String | value
The default attribute value |
| public Vector | values
The possible attribute values |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | |
| public | AttributeList(String
the attribute name name, int the attribute type type, int the attribute modifier modifier, String the default attribute value value, Vector<?> the possible attribute values values, AttributeList the next attribute in the list next)Create an attribute list element. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| public int | |
| public String | |
| public AttributeList | |
| public int | |
| public String | |
| public Enumeration | |
| public static int | |
| public String | Returns: string representationOverrides java. Returns a string representation of the object. |
| public static String |
| attributeTypes | back to summary |
|---|---|
| pack-priv static Hashtable<Object, Object> attributeTypes Create a hashtable of attribute types. | |
| modifier | back to summary |
|---|---|
| public int modifier The attribute modifier | |
| name | back to summary |
|---|---|
| public String name The attribute name | |
| next | back to summary |
|---|---|
| public AttributeList next The next attribute in the list | |
| type | back to summary |
|---|---|
| public int type The attribute type | |
| value | back to summary |
|---|---|
| public String value The default attribute value | |
| values | back to summary |
|---|---|
| public Vector<?> values The possible attribute values | |
| AttributeList | back to summary |
|---|---|
| pack-priv AttributeList() | |
| AttributeList | back to summary |
|---|---|
| public AttributeList(String name) Create an attribute list element.
| |
| AttributeList | back to summary |
|---|---|
| public AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next) Create an attribute list element.
| |
| defineAttributeType | back to summary |
|---|---|
| pack-priv static void defineAttributeType(String nm, int val) | |
| getModifier | back to summary |
|---|---|
| public int getModifier() Returns the attribute modifier.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the attribute name.
| |
| getNext | back to summary |
|---|---|
| public AttributeList getNext() Returns the next attribute in the list.
| |
| getType | back to summary |
|---|---|
| public int getType() Returns the attribute type.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Returns default attribute value.
| |
| getValues | back to summary |
|---|---|
| public Enumeration Returns possible attribute values.
| |
| name2type | back to summary |
|---|---|
| public static int name2type(String nm) Converts an attribute name to the type
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| type2name | back to summary |
|---|---|
| public static String type2name(int tp) Converts a type to the attribute name
| |