public static final class Element.QualifiedName extends Object
| Constructor and Description |
|---|
Element.QualifiedName(String namespaceURI,
String localName)
Constructs a new
QualifiedName with the specified
namespace and local name. |
Element.QualifiedName(String namespacePrefix,
String namespaceURI,
String localName)
Constructs a new
QualifiedName with the specified
namespace and local name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this object with the specified object for equality.
|
String |
getLocalName()
Gets the local name.
|
String |
getNamespacePrefix()
Gets the namespace prefix.
|
String |
getNamespaceURI()
Gets the namespace URI.
|
int |
hashCode()
Returns the hash code value for this object.
|
public Element.QualifiedName(String namespaceURI, String localName) throws IllegalArgumentException
QualifiedName with the specified
namespace and local name.namespaceURI - the namespace URI for the element, can be null; an
empty string is equivalent to null.localName - the local name of the element, cannot be null.IllegalArgumentException - if localName == null.public Element.QualifiedName(String namespacePrefix, String namespaceURI, String localName) throws IllegalArgumentException
QualifiedName with the specified
namespace and local name.namespacePrefix - the namespace prefix for the element, can be null; an
empty string is equivalent to null.namespaceURI - the namespace URI for the element, can be null; an
empty string is equivalent to null.localName - the local name of the element, cannot be null.IllegalArgumentException - if localName == null.public int hashCode()
public boolean equals(Object obj)
public String getNamespacePrefix()
null.public String getNamespaceURI()
null.public String getLocalName()
null.See http://www.xins.org/.