jaxx.compiler.types
Class TypeManager

java.lang.Object
  extended by jaxx.compiler.types.TypeManager

public class TypeManager
extends Object


Method Summary
static Object convertFromString(String string, Class<?> type)
           
static String convertVariableNameToConstantName(String variableName)
          Convertit un nom de variable en nom de constante.
static Map<Class<?>,TypeConverter> getConverters()
           
static String getJavaCode(Object object)
           
static TypeConverter getTypeConverter(Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConverters

public static Map<Class<?>,TypeConverter> getConverters()
Returns:
dictionnary of known converters

getTypeConverter

public static TypeConverter getTypeConverter(Class<?> type)

getJavaCode

public static String getJavaCode(Object object)

convertFromString

public static Object convertFromString(String string,
                                       Class<?> type)

convertVariableNameToConstantName

public static String convertVariableNameToConstantName(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-2012 CodeLutin. All Rights Reserved.