org.granite.generator.as3
Class DefaultAs3TypeFactory

java.lang.Object
  extended by org.granite.generator.as3.DefaultAs3TypeFactory
All Implemented Interfaces:
As3TypeFactory

public class DefaultAs3TypeFactory
extends Object
implements As3TypeFactory

Author:
Franck WOLFF

Constructor Summary
DefaultAs3TypeFactory()
           
 
Method Summary
 void configure(boolean externalizeLong, boolean externalizeBigInteger, boolean externalizeBigDecimal)
           
protected  As3Type createAs3Type(Class<?> jType)
           
 ClientType getAs3Type(Class<?> jType)
           
 ClientType getClientType(Type jType, Class<?> declaringClass, ParameterizedType[] declaringTypes, PropertyType propertyType)
           
protected  As3Type getFromCache(Class<?> jType)
           
protected  void putInCache(Class<?> jType, As3Type as3Type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAs3TypeFactory

public DefaultAs3TypeFactory()
Method Detail

configure

public void configure(boolean externalizeLong,
                      boolean externalizeBigInteger,
                      boolean externalizeBigDecimal)
Specified by:
configure in interface As3TypeFactory

getClientType

public ClientType getClientType(Type jType,
                                Class<?> declaringClass,
                                ParameterizedType[] declaringTypes,
                                PropertyType propertyType)
Specified by:
getClientType in interface As3TypeFactory

getAs3Type

public ClientType getAs3Type(Class<?> jType)
Specified by:
getAs3Type in interface As3TypeFactory

createAs3Type

protected As3Type createAs3Type(Class<?> jType)

getFromCache

protected As3Type getFromCache(Class<?> jType)

putInCache

protected void putInCache(Class<?> jType,
                          As3Type as3Type)