|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.namespace.QName
public class QName
An XML qualified name.
| Constructor Summary | |
|---|---|
QName(String localPart)
|
|
QName(String namespaceURI,
String localPart)
|
|
QName(String namespaceURI,
String localPart,
String prefix)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
equals compares this object to another object. |
String |
getLocalPart()
|
String |
getNamespaceURI()
|
String |
getPrefix()
|
int |
hashCode()
hashCode returns a hash code for this object. |
String |
toString()
toString creates a printable string that represents this object for debugging purposes. |
static QName |
valueOf(String qNameAsString)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QName(String namespaceURI,
String localPart)
public QName(String namespaceURI,
String localPart,
String prefix)
public QName(String localPart)
| Method Detail |
|---|
public String getNamespaceURI()
public String getLocalPart()
public String getPrefix()
public final boolean equals(Object obj)
ObjectEquals must be symmetric (a.equals(b) == b.equals(a)), reflexive (a.equals(a)==true) and transitive (a.equals(b) && b.equals(c) IMPLIES (a.equals(c))) and not change over time (a.equals(b) == a.equals(b)). a.equals(null) should always return false.
If a.equals(b) is true for two objects a and b, then a.hashCode()==b.hashCode() must hold.
The default implementation of equals returns this==other.
equals in class Objectobj - the other object.
public final int hashCode()
ObjectThe default implementation returns System.identityHashCode(this).
hashCode in class Objectpublic String toString()
ObjectThe default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).
toString in class Objectpublic static QName valueOf(String qNameAsString)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||