|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.util.NCNameConverter
public class NCNameConverter
Code to change a string to an NCName. This has bit of code has been brought over from Provisioning service.
| Constructor Summary | |
|---|---|
NCNameConverter()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getNCNameCompliantName(java.lang.String name)
Endeca Server can only handle NCName compatible Names defined by the regular expression "[\i-[:]][\c-[:]]*", where the multi-character escapes are defined in the XML Schema Definition http://www.w3.org/TR/xmlschema-2/#dt-ccesN This method replaces every non-matching character with "_", and prefixes the name with "A" if the leading character is disallowed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NCNameConverter()
| Method Detail |
|---|
public static java.lang.String getNCNameCompliantName(java.lang.String name)
key -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||