|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.swing.text.html.HTML
public class HTML

Constants used in the HTMLDocument. These
are basically tag and attribute definitions.
| Nested Class Summary | |
|---|---|
static class |
HTML.Attribute
Typesafe enumeration representing an HTML attribute. |
static class |
HTML.Tag
Typesafe enumeration for an HTML tag. |
static class |
HTML.UnknownTag
|
| Field Summary | |
|---|---|
static String |
NULL_ATTRIBUTE_VALUE
|
| Constructor Summary | |
|---|---|
HTML
|
|
| Method Summary | |
|---|---|
static HTML.Attribute |
getAllAttributeKeys
Returns the set of HTML attributes recognized. |
static HTML.Tag |
getAllTags
Returns the set of actual HTML tags that are recognized by the default HTML reader. |
static HTML.Attribute |
getAttributeKey
Fetches an attribute constant for a well-known attribute name (i.e. |
static int |
getIntegerAttributeValue
Fetches an integer attribute value. |
static HTML.Tag |
getTag
Fetches a tag constant for a well-known tag name (i.e. |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| Field Detail |
|---|

public static final String![]()
![]()
NULL_ATTRIBUTE_VALUE
| Constructor Detail |
|---|

public HTML()
| Method Detail |
|---|

public static HTML.Tag![]()
![]()
[] getAllTags()

public static HTML.Tag![]()
![]()
getTag(String
![]()
![]()
tagName)
null will be returned.
tagName - the String name requested
tagName,
or null if not found

public static int getIntegerAttributeValue(AttributeSet![]()
![]()
attr, HTML.Attribute
![]()
![]()
key, int def)
attr - the set of attributes to use to try to fetch a valuekey - the key to use to fetch the valuedef - the default value to use if the attribute isn't
defined or there is an error converting to an integer

public static HTML.Attribute![]()
![]()
[] getAllAttributeKeys()

public static HTML.Attribute![]()
![]()
getAttributeKey(String
![]()
![]()
attName)
null will be returned.
attName - the String requested
Attribute corresponding to attName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||