public static class

HTML.UnknownTag

extends HTML.Tag
implements Serializable
java.lang.Object
   ↳ javax.swing.text.html.HTML.Tag
     ↳ javax.swing.text.html.HTML.UnknownTag

Summary

[Expand]
Inherited Fields
From class javax.swing.text.html.HTML.Tag
Public Constructors
HTML.UnknownTag(String id)
Creates a new UnknownTag with the specified id.
Public Methods
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.
[Expand]
Inherited Methods
From class javax.swing.text.html.HTML.Tag
From class java.lang.Object

Public Constructors

public HTML.UnknownTag (String id)

Creates a new UnknownTag with the specified id.

Parameters
id the id of the new tag

Public Methods

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.

Parameters
obj the object to compare this tag with
Returns
  • true if the objects are equal; false otherwise

public int hashCode ()

Returns the hash code which corresponds to the string for this tag.

Returns
  • a hash code value for this object.