jaxx.compiler.types
Class PrimitiveConverter

java.lang.Object
  extended by jaxx.compiler.types.PrimitiveConverter
All Implemented Interfaces:
TypeConverter

public class PrimitiveConverter
extends Object
implements TypeConverter


Constructor Summary
PrimitiveConverter()
           
 
Method Summary
 Object convertFromString(String string, Class<?> type)
           
 String getJavaCode(Object object)
           
 Class<?>[] getSupportedTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveConverter

public PrimitiveConverter()
Method Detail

getSupportedTypes

public Class<?>[] getSupportedTypes()
Specified by:
getSupportedTypes in interface TypeConverter

getJavaCode

public String getJavaCode(Object object)
Specified by:
getJavaCode in interface TypeConverter

convertFromString

public Object convertFromString(String string,
                                Class<?> type)
Specified by:
convertFromString in interface TypeConverter


Copyright © 2008-2010 CodeLutin. All Rights Reserved.