- 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
-
-
Field Summary
-
Fields inherited from 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
Constructors Constructor and Description HTML.UnknownTag(String id)
Creates a newUnknownTag
with the specifiedid
.
-
Method Summary
Methods Modifier and Type Method and Description boolean
equals(Object obj)
Compares this object to the specifed object.int
hashCode()
Returns the hash code which corresponds to the string for this tag.-
Methods inherited from class javax.swing.text.html.HTML.Tag
breaksFlow, isBlock, isPreformatted, toString
-
-
-
-
Constructor Detail
-
HTML.UnknownTag
public HTML.UnknownTag(String id)
Creates a newUnknownTag
with the specifiedid
.- Parameters:
id
- the id of the new tag
-
-
Method Detail
-
hashCode
public int hashCode()
Returns the hash code which corresponds to the string for this tag.- Overrides:
hashCode
in classObject
- Returns:
- a hash code value for this object.
- See Also:
Object.equals(java.lang.Object)
,System.identityHashCode(java.lang.Object)
-
equals
public boolean equals(Object obj)
Compares this object to the specifed object. The result istrue
if and only if the argument is notnull
and is anUnknownTag
object with the same name.- Overrides:
equals
in classObject
- Parameters:
obj
- the object to compare this tag with- Returns:
true
if the objects are equal;false
otherwise- See Also:
Object.hashCode()
,HashMap
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/text/html/HTML.UnknownTag.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.