当前页面:
在线文档首页 >
JDK 5 Documentation v1.4.0, Java 2 SDK 英文文档
HTML.UnknownTag (Java 2 Platform SE v1.4.0) - JDK 5 Documentation v1.4.0, Java 2 SDK 英文文档
javax.swing.text.html
Class HTML.UnknownTag
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
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 |
Method Summary |
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. |
HTML.UnknownTag
public HTML.UnknownTag(String id)
- Creates a new
UnknownTag
with the specified
id
.
- Parameters:
id
- the id of the new tag
hashCode
public int hashCode()
- Returns the hash code which corresponds to the string
for this tag.
- Overrides:
hashCode
in class Object
- Returns:
- a hash code value for this object.
- See Also:
Object.equals(java.lang.Object)
,
Hashtable
equals
public boolean equals(Object obj)
- Compares this object to the specifed object.
The result is
true
if and only if the argument is not
null
and is an UnknownTag
object
with the same name.
- Overrides:
equals
in class Object
- Parameters:
obj
- the object to compare this tag with
- Returns:
true
if the objects are equal;
false
otherwise- See Also:
Object.hashCode()
,
Hashtable
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.