Package Summary  Overview Summary

class:HTML.UnknownTag [NONE]

All Implemented Interfaces:
Serializable
Enclosing class:
HTML

public static class HTML.UnknownTagextends HTML.Tag implements Serializable
Class represents unknown HTML tag.

constructor:HTML.UnknownTag(java.lang.String) [NONE]

  • UnknownTag

    public UnknownTag (String id)
    Creates a new UnknownTag with the specified id.
    Parameters:
    id - the id of the new tag

method:hashCode() [NONE]

  • 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:
  • method:equals(java.lang.Object) [NONE]

    equals

    public boolean equals (Object obj)
    Compares this object to the specified 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:

    © 2023 Oracle Corporation and/or its affiliates