|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.common.gwt.utils.client.model.GwtQName
public class GwtQName
| Field Summary | |
|---|---|
static String |
DEFAULT_NS_PREFIX
|
static String |
NULL_NS_URI
|
| Constructor Summary | |
|---|---|
GwtQName()
Default no-args constructor for serialization |
|
GwtQName(String localPart)
GwtQName constructor specifying the local part. |
|
GwtQName(String namespaceURI,
String localPart)
GwtQName constructor specifying the Namespace URI and local part. |
|
GwtQName(String namespaceURI,
String localPart,
String prefix)
QName constructor specifying the Namespace URI,
local part and prefix. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object objectToTest)
|
String |
getLocalPart()
Get the local part of this QName. |
String |
getNamespaceURI()
Get the Namespace URI of this QName. |
String |
getPrefix()
Get the prefix of this QName. |
int |
hashCode()
|
void |
setLocalPart(String localPart)
|
void |
setNamespaceURI(String namespaceURI)
|
void |
setPrefix(String prefix)
|
String |
toString()
String representation of this
QName. |
static GwtQName |
valueOf(String qNameAsString)
QName derived from parsing the formatted
String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_NS_PREFIX
public static final String NULL_NS_URI
| Constructor Detail |
|---|
public GwtQName()
public GwtQName(String namespaceURI,
String localPart)
GwtQName constructor specifying the Namespace URI and local part.
namespaceURI - Namespace URI of the GwtQNamelocalPart - local part of the GwtQName
public GwtQName(String namespaceURI,
String localPart,
String prefix)
QName constructor specifying the Namespace URI,
local part and prefix.
namespaceURI - Namespace URI of the QNamelocalPart - local part of the QNameprefix - prefix of the QName
IllegalArgumentException - When localPart
or prefix is nullpublic GwtQName(String localPart)
GwtQName constructor specifying the local part.
localPart - local part of the QName
IllegalArgumentException - When localPart is
null| Method Detail |
|---|
public String getNamespaceURI()
Get the Namespace URI of this QName.
QNamepublic String getLocalPart()
Get the local part of this QName.
QNamepublic String getPrefix()
Get the prefix of this QName.
The prefix assigned to a QName might
NOT be valid in a different
context. For example, a QName may be assigned a
prefix in the context of parsing a document but that prefix may
be invalid in the context of a different document.
QNamepublic final boolean equals(Object objectToTest)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic String toString()
String representation of this
QName.
toString in class ObjectString representation of this QNamepublic static GwtQName valueOf(String qNameAsString)
QName derived from parsing the formatted
String.
qNameAsString - String representation
of the QName
QName corresponding to the given String
IllegalArgumentException - When qNameAsString is
null or malformedpublic void setNamespaceURI(String namespaceURI)
public void setLocalPart(String localPart)
public void setPrefix(String prefix)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||