This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.text.html.parser
class AttributeList
- All Implemented Interfaces:
- Serializable, DTDConstants
public final class AttributeList
extends Object
implements DTDConstants, Serializable
This class defines the attributes of an SGML element
as described in a DTD using the ATTLIST construct.
An AttributeList can be obtained from the Element
class using the getAttributes() method.
It is actually an element in a linked list. Use the
getNext() method repeatedly to enumerate all the attributes
of an element.
Constructor Summary |
Create an attribute list element.
|
Create an attribute list element.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modifier
public int modifier
-
name
public String name
-
next
public AttributeList next
-
type
public int type
-
value
public String value
-
values
public Vector values
-
AttributeList
public AttributeList(String name)
-
Create an attribute list element.
- Parameters:
name
AttributeList
public AttributeList(String name,
int type,
int modifier,
String value,
Vector values,
AttributeList next)
-
Create an attribute list element.
- Parameters:
name
type
modifier
value
values
next
getModifier
public int getModifier()
-
- Returns:
- attribute modifier
getName
public String getName()
-
- Returns:
- attribute name
getNext
public AttributeList getNext()
-
- Returns:
- the next attribute in the list
getType
public int getType()
-
- Returns:
- attribute type
getValue
public String getValue()
-
- Returns:
- default attribute value
getValues
public Enumeration getValues()
-
- Returns:
- possible attribute values
name2type
public static int name2type(String nm)
-
- Parameters:
nm
toString
public String toString()
-
- Overrides:
toString
in class Object
- Returns:
- string representation
type2name
public static String type2name(int tp)
-
- Parameters:
tp
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.