public final class ElementName
extends java.lang.Object
| Constructor and Description |
|---|
ElementName(java.lang.String namespaceURI,
java.lang.String localName)
Constructs an ElementName with the specified namespace URI and local
name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Get whether this element name equals some other object.
|
java.lang.String |
getLocalName()
The local name of this element name.
|
java.lang.String |
getNamespaceURI()
Get the namespace uri of this element name.
|
int |
hashCode()
Get a hashcode for this object.
|
java.lang.String |
toString()
Get a string representation of this element name.
|
public ElementName(java.lang.String namespaceURI,
java.lang.String localName)
namespaceURI - the namespace uri of the qualified name. May be null.localName - the local name of the qualified name. Must not be null.public java.lang.String getNamespaceURI()
public java.lang.String getLocalName()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - another object to compare to this one.