Package org.nuxeo.ecm.core.schema.types
Class QName
java.lang.Object
org.nuxeo.ecm.core.schema.types.QName
- All Implemented Interfaces:
Serializable
- Author:
- Bogdan Stefanescu
- See Also:
-
Constructor Details
-
QName
Creates a QName without prefix (e.g. with the default prefix : "").- Parameters:
localName
- the local name
-
QName
Creates a QName having the given local name and prefix.
-
-
Method Details
-
getLocalName
-
getPrefixedName
-
getPrefix
-
hashCode
public int hashCode() -
toString
-
equals
-
valueOf
Parses the given name and creates the corresponding QName.If the given name is not prefixed then the default prefix (e.g. "") will be used (i.e. the name will remain unprefixed).
- Parameters:
name
- the name in the prefixed form- Returns:
- the qname
-
valueOf
Parses the given name and create the corresponding QName.If the given name is not prefixed then the given prefix will be used.
-