HTMLDocument. These
are basically tag and attribute definitions.
| Modifier and Type | Class and Description |
|---|---|
| public static class | HTML.
Typesafe enumeration representing an HTML attribute. |
| public static class | HTML.
Typesafe enumeration for an HTML tag. |
| public static class | HTML.
Class represents unknown HTML tag. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Hashtable | |
| public static final String | NULL_ATTRIBUTE_VALUE
|
| private static final Map | scMapping
Maps from StyleConstant key to HTML.Tag. |
| private static final Hashtable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static HTML. | Returns: the set of HTML attributes recognizedReturns the set of HTML attributes recognized. |
| public static HTML. | Returns: the set of actual HTML tags that are recognized by the default HTML readerReturns the set of actual HTML tags that are recognized by the default HTML reader. |
| public static HTML. | Returns: theAttribute corresponding to attNamethe attName)String requestedFetches an attribute constant for a well-known attribute name (i.e. one of the attributes in the set {FACE, COMMENT, SIZE, COLOR, CLEAR, BACKGROUND, BGCOLOR, TEXT, LINK, VLINK, ALINK, WIDTH, HEIGHT, ALIGN, NAME, HREF, REL, REV, TITLE, TARGET, SHAPE, COORDS, ISMAP, NOHREF, ALT, ID, SRC, HSPACE, VSPACE, USEMAP, LOWSRC, CODEBASE, CODE, ARCHIVE, VALUE, VALUETYPE, TYPE, CLASS, STYLE, LANG, DIR, DECLARE, CLASSID, DATA, CODETYPE, STANDBY, BORDER, SHAPES, NOSHADE, COMPACT, START, ACTION, METHOD, ENCTYPE, CHECKED, MAXLENGTH, MULTIPLE, SELECTED, ROWS, COLS, DUMMY, CELLSPACING, CELLPADDING, VALIGN, HALIGN, NOWRAP, ROWSPAN, COLSPAN, PROMPT, HTTPEQUIV, CONTENT, LANGUAGE, VERSION, N, FRAMEBORDER, MARGINWIDTH, MARGINHEIGHT, SCROLLING, NORESIZE, MEDIA, ENDTAG}). |
| public static int | Returns: an attribute valuethe set of attributes to use to try to fetch a value attr, HTML.the key to use to fetch the value key,the default value to use if the attribute isn't
defined or there is an error converting to an integer def)Fetches an integer attribute value. |
| public static HTML. | Returns: a tag constant corresponding to thetagName,
or null if not foundthe tagName)String name requestedFetches a tag constant for a well-known tag name (i.e. one of the tags in the set {A, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, CAPTION, CENTER, CITE, CODE, DD, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IMG, INPUT, ISINDEX, KBD, LI, LINK, MAP, MENU, META, NOBR, NOFRAMES, OBJECT, OL, OPTION, P, PARAM, PRE, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, S, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TITLE, TR, TT, U, UL, VAR}. |
| pack-priv static HTML. | Returns: tag which corresponds tosc, or
null if not foundthe sc)StyleConstants keyReturns the HTML |