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

java.lang.Object extended by javax.swing.text.html.parser.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.


Field Summary
 int modifier
          
 String name
          
 AttributeList next
          
 int type
          
 String value
          
 Vector values
          
 
Constructor Summary

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

          Create an attribute list element.
 
Method Summary
 int

          
 String

          
 AttributeList

          
 int

          
 String

          
 Enumeration

          
static int

          
 String

          Returns a string representation of the object.
static String
type2name(int tp)

          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modifier

public int modifier

name

public String name

next

public AttributeList next

type

public int type

value

public String value

values

public Vector values
Constructor Detail

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
Method Detail

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:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.