public static class HTML.UnknownTag extends HTML.Tag implements Serializable
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 and Description |
|---|
UnknownTag(String
Creates a new
UnknownTag with the specified
id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
Compares this object to the specified object.
|
int |
hashCode()
Returns the hash code which corresponds to the string for this tag.
|
breaksFlow, isBlock, isPreformatted, toStringpublic UnknownTag(Stringid)
UnknownTag with the specified
id.
id - the id of the new tag
public int hashCode()
hashCode in class
Object
Object.equals(java.lang.Object) ,
System.identityHashCode(java.lang.Object)
public boolean equals(Objectobj)
true if and only if the argument is not
null and is an
UnknownTag object with the same name.
equals in class
Object
obj - the object to compare this tag with
true if the objects are equal;
false otherwise
Object.hashCode() ,
HashMap