|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.schema.types.QName
public class QName
Constructor Summary | |
---|---|
QName(String localName)
Creates a QName without prefix (e.g. |
|
QName(String localName,
String prefix)
Creates a QName having the given local name and prefix. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLocalName()
|
String |
getPrefix()
|
String |
getPrefixedName()
|
int |
hashCode()
|
String |
toString()
|
static QName |
valueOf(String name)
Parses the given name and creates the corresponding QName. |
static QName |
valueOf(String name,
String prefix)
Parses the given name and create the corresponding QName. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QName(String localName)
localName
- the local namepublic QName(String localName, String prefix)
localName
- prefix
- Method Detail |
---|
public final String getLocalName()
public final String getPrefixedName()
public final String getPrefix()
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public static QName valueOf(String name)
If the given name is not prefixed then the default prefix (e.g. "") will be used (i.e. the name will remain unprefixed).
name
- the name in the prefixed form
public static QName valueOf(String name, String prefix)
If the given name is not prefixed then the given prefix will be used.
name
- prefix
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |