jaxx.compiler.types
Class TypeManager
java.lang.Object
jaxx.compiler.types.TypeManager
public class TypeManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getConverters
public static java.util.Map<java.lang.Class<?>,TypeConverter> getConverters()
- Returns:
- dictionnary of known converters
getTypeConverter
public static TypeConverter getTypeConverter(java.lang.Class<?> type)
getJavaCode
public static java.lang.String getJavaCode(java.lang.Object object)
convertFromString
public static java.lang.Object convertFromString(java.lang.String string,
java.lang.Class<?> type)
convertVariableNameToConstantName
public static java.lang.String convertVariableNameToConstantName(java.lang.String variableName)
- Convertit un nom de variable en nom de constante.
- Parameters:
variableName - le nom de variable a convertir
- Returns:
- le nom de la constante à partir du nom de la variable
Copyright © 2008-2010 CodeLutin. All Rights Reserved.