|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.xml.Element.QualifiedName
Qualified name for an element or attribute. This is a combination of an optional namespace URI and a mandatory local name.
Constructor Summary | |
Element.QualifiedName(String namespaceURI,
String localName)
Constructs a new QualifiedName with the specified
namespace and local name. |
Method Summary | |
boolean |
equals(Object obj)
Compares this object with the specified object for equality. |
String |
getLocalName()
Gets the local name. |
String |
getNamespaceURI()
Gets the namespace URI. |
int |
hashCode()
Returns the hash code value for this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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
.Method Detail |
public int hashCode()
public boolean equals(Object obj)
obj
- the object to compare with, or null
.
true
if this object and the argument are considered
equal, false
otherwise.public String getNamespaceURI()
null
.public String getLocalName()
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |