java.lang.Object
javax.swing.text.html.HTML.Tag
javax.swing.text.html.HTML.UnknownTag
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HTML
Class represents unknown HTML tag.
-
Field Summary
Fields declared in class javax.swing.text.html.HTML.Tag
A, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, CAPTION, CENTER, CITE, CODE, COMMENT, CONTENT, DD, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IMG, IMPLIED, INPUT, ISINDEX, KBD, LI, LINK, MAP, MENU, META, NOFRAMES, OBJECT, OL, OPTION, P, PARAM, PRE, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TITLE, TR, TT, U, UL, VAR
-
Constructor Summary
-
Method Summary
Methods declared in class javax.swing.text.html.HTML.Tag
breaksFlow, isBlock, isPreformatted, toString
-
Constructor Details
-
UnknownTag
Creates a newUnknownTag
with the specifiedid
.- Parameters:
id
- the id of the new tag
-
-
Method Details
-
hashCode
public int hashCode()Returns the hash code which corresponds to the string for this tag. -
equals
Compares this object to the specified object. The result istrue
if and only if the argument is notnull
and is anUnknownTag
object with the same name.
-