org.apache.cxf.tools.util
Class NameUtil

java.lang.Object
  extended by org.apache.cxf.tools.util.NameUtil

public final class NameUtil
extends Object


Method Summary
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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPunct

protected static boolean isPunct(char c)

isLower

protected static boolean isLower(char c)

capitalize

public static String capitalize(String s)

classify

protected static int classify(char c0)

toWordList

public static List<String> toWordList(String s)

toMixedCaseName

protected static String toMixedCaseName(List<String> ss,
                                        boolean startUpper)

toMixedCaseVariableName

protected static String toMixedCaseVariableName(String[] ss,
                                                boolean startUpper,
                                                boolean cdrUpper)

escape

public static void escape(StringBuilder sb,
                          String s,
                          int start)

isJavaIdentifier

public static boolean isJavaIdentifier(String s)

mangleNameToClassName

public static String mangleNameToClassName(String name)

mangleNameToVariableName

public static String mangleNameToVariableName(String name)


Apache CXF