- java.lang.Object
- 
- javax.swing.text.html.HTML.Tag
- 
- javax.swing.text.html.HTML.UnknownTag
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Enclosing class:
- HTML
 
 public static class HTML.UnknownTag extends HTML.Tag implements Serializable Class represents unknown HTML tag.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields declared in class javax.swing.text.html.HTML.TagA, 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 SummaryConstructors Constructor Description UnknownTag(String id)Creates a newUnknownTagwith the specifiedid.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Compares this object to the specified object.inthashCode()Returns the hash code which corresponds to the string for this tag.- 
Methods declared in class javax.swing.text.html.HTML.TagbreaksFlow, isBlock, isPreformatted, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
UnknownTagpublic UnknownTag(String id) Creates a newUnknownTagwith the specifiedid.- Parameters:
- id- the id of the new tag
 
 
- 
 - 
Method Detail- 
hashCodepublic int hashCode() Returns the hash code which corresponds to the string for this tag.- Overrides:
- hashCodein class- Object
- Returns:
- a hash code value for this object.
- See Also:
- Object.equals(java.lang.Object),- System.identityHashCode(java.lang.Object)
 
 - 
equalspublic boolean equals(Object obj) Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anUnknownTagobject with the same name.- Overrides:
- equalsin class- Object
- Parameters:
- obj- the object to compare this tag with
- Returns:
- trueif the objects are equal;- falseotherwise
- See Also:
- Object.hashCode(),- HashMap
 
 
- 
 
-