public class NCNameConverter
extends java.lang.Object
Constructor and Description |
---|
NCNameConverter() |
Modifier and Type | Method and Description |
---|---|
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 sequence of one or more non-matching character with "_", and prefixes the name with "A" if the leading
character is disallowed.
|
public static java.lang.String getNCNameCompliantName(java.lang.String name)
key
- Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.