org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util
Class Util
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util
public class Util
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESERVED_WORDS
public static final Set RESERVED_WORDS
PRIMITIVE_TYPES
public static final Set PRIMITIVE_TYPES
convertClassToSourcePath
public static String convertClassToSourcePath(String className,
String fileExtension)
isFullClass
public static boolean isFullClass(String className)
getGenericsFromProperty
public static String getGenericsFromProperty(PropertyBean property)
getClassFromFullClass
public static String getClassFromFullClass(String fullClass)
getPackageFromFullClass
public static String getPackageFromFullClass(String fullClass)
getConstantNameFromProperty
public static String getConstantNameFromProperty(String propertyName)
getConstantNameFromProperty
public static String getConstantNameFromProperty(String propertyName,
String constantSuffix)
getPrefixedPropertyName
public static String getPrefixedPropertyName(String prefix,
String propertyName)
getPropertyClass
public static String getPropertyClass(PropertyBean property)
getMethodNameFromEvent
public static String getMethodNameFromEvent(String methodPrefix,
String eventName,
String methodSuffix)
getMethodReaderFromProperty
public static String getMethodReaderFromProperty(String propertyName,
String propertyClass)
getEventNameFromEventType
public static String getEventNameFromEventType(String eventFullClass)
isPrimitiveClass
public static boolean isPrimitiveClass(String className)
getAlternatePropertyClass
public static String getAlternatePropertyClass(PropertyBean property)
getBoxedClass
public static String getBoxedClass(String className)
primitiveDefaultValue
public static String primitiveDefaultValue(String className)
fill
public static String fill(String base,
int length)
getVariableFromClass
public static String getVariableFromClass(String className)
getVariableFromName
public static String getVariableFromName(String name)
convertStringToLiteral
public static String convertStringToLiteral(String value)
convertStringToLiteral
public static String convertStringToLiteral(String className,
String value)
getDefaultValue
public static String getDefaultValue(PropertyBean property)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.