|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.core.model.QName
public class QName
Kind of a qualified name, but without the restrictions of
NCName
on the local part.
Constructor Summary | |
---|---|
QName(java.lang.String pLocalPart)
Creates a new instance with the default namespace and no prefix. |
|
QName(java.lang.String pUri,
java.lang.String pLocalPart)
Creates a new instance without prefix. |
|
QName(java.lang.String pUri,
java.lang.String pLocalPart,
java.lang.String pPrefix)
Creates a new instance with the given namespace URI, local part, and prefix. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLocalPart()
Returns the local part. |
java.lang.String |
getNamespaceURI()
Returns the namespace URI. |
java.lang.String |
getPrefix()
Returns the namespace prefix. |
int |
hashCode()
|
java.lang.String |
toString()
|
static java.lang.String |
toString(QName pQName)
|
static QName |
valueOf(java.lang.String pValue)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QName(java.lang.String pLocalPart)
pLocalPart
- The qualified names local part.public QName(java.lang.String pUri, java.lang.String pLocalPart)
pUri
- The qualified names namespace URI.pLocalPart
- The qualified names local part.public QName(java.lang.String pUri, java.lang.String pLocalPart, java.lang.String pPrefix)
pUri
- The qualified names namespace URI.pLocalPart
- The qualified names local part.pPrefix
- The qualified names prefix.Method Detail |
---|
public java.lang.String getNamespaceURI()
public java.lang.String getLocalPart()
public java.lang.String getPrefix()
public static QName valueOf(java.lang.String pValue)
public static java.lang.String toString(QName pQName)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |