Constructor and Description |
---|
ONamespaceMap() |
Modifier and Type | Method and Description |
---|---|
static QName |
decode(String name)
Decode a name based on the runtime namespace map.
|
static String |
encode(QName org)
Encode a
QName for runtime use with OrientDB. |
static QName |
map(QName org)
Map the namespace of the given qualified name to a short identifier and
return the adapted name.
|
static QName |
unmap(QName mapped)
Determine the original namespace of the given qualified name with a
namespace previously mapped with
map(QName) and return the
original name. |
public static QName map(QName org)
org
- the original qualified namepublic static String encode(QName org)
QName
for runtime use with OrientDB.org
- the qualified namepublic static QName unmap(QName mapped)
map(QName)
and return the
original name.mapped
- the adapted qualified namepublic static QName decode(String name) throws org.apache.commons.codec.DecoderException
name
- the encoded nameorg.apache.commons.codec.DecoderException
- of decoding the local part of the name failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a