|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.content.cmis.rest.converters.NameTranslator
public class NameTranslator
This utility translates names between CMIS queryName
and VCR names. The translation (encoding) is reversible and utilizes
a namespacing scheme (colon separated names).
Encoding is only done on characters which may present a problem to the
query parser, namely: space, tab, period, comma, double-quote, backslash,
parenthesis, asterick, less than, greater than, equals.
Also, since a colon has special significance in our namespacing, it is also encoded.
The encoding scheme is similar to how special characters (newline, tab, etc)
are encoded in a java string (as with \n and \t).
We use the ! character as an escape, with the following mapping:
Method Summary | |
---|---|
static String |
decodeName(String queryName)
|
static String |
encodeName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encodeName(String name)
public static String decodeName(String queryName)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |