public final class NameUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
capitalize(String s) |
protected static int |
classify(char c0) |
static void |
escape(StringBuilder sb,
String s,
int start) |
static boolean |
isJavaIdentifier(String s) |
protected static boolean |
isLower(char c) |
protected static boolean |
isPunct(char c) |
static String |
mangleNameToClassName(String name) |
static String |
mangleNameToClassName(String name,
boolean allowUnderscores) |
static String |
mangleNameToVariableName(String name) |
protected static String |
toMixedCaseName(List<String> ss,
boolean startUpper) |
protected static String |
toMixedCaseVariableName(String[] ss,
boolean startUpper,
boolean cdrUpper) |
static List<String> |
toWordList(String s) |
static List<String> |
toWordList(String s,
boolean allowUnderscore) |
protected static boolean isPunct(char c)
protected static boolean isLower(char c)
protected static int classify(char c0)
protected static String toMixedCaseVariableName(String[] ss, boolean startUpper, boolean cdrUpper)
public static void escape(StringBuilder sb, String s, int start)
public static boolean isJavaIdentifier(String s)
public static String mangleNameToClassName(String name, boolean allowUnderscores)
Apache CXF