|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.inet.html.css.HTML
public class HTML
Replace the class javax.swing.text.html.HTML because it is not completly
Nested Class Summary | |
---|---|
static class |
HTML.Attribute
A list of all valid HTML Attributes. |
static class |
HTML.Tag
A list of all possible HTML tags. |
Constructor Summary | |
---|---|
HTML()
|
Method Summary | |
---|---|
static void |
addTagMapping(java.lang.String tagName,
HTML.Tag tag)
Add a mapping to resolve unknown tags to known HTML tags. |
static HTML.Attribute |
getAttributeKey(java.lang.String name)
Get an Attribute constant for a known attribute. |
static HTML.Tag |
getTag(java.lang.String name)
Get a Tag constant for a known tag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTML()
Method Detail |
---|
public static HTML.Tag getTag(java.lang.String name)
name
- the name of the tag (case insensitive)
public static void addTagMapping(java.lang.String tagName, HTML.Tag tag)
tagName
- the name of the non-HTML tagtag
- the tag to resolve topublic static HTML.Attribute getAttributeKey(java.lang.String name)
name
- the name of the attribute (case insensitive)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |