Class DefaultTypes
- java.lang.Object
-
- com.oracle.coherence.io.json.genson.reflect.DefaultTypes
-
-
Constructor Summary
Constructors Constructor Description DefaultTypes()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getClass(ValueType type)Get the class to use for deserialization of the specifiedValueType.DefaultTypessetClass(ValueType type, Class<?> clazz)Set the class to use for deserialization of the specifiedValueType.
-
-
-
Method Detail
-
setClass
public DefaultTypes setClass(ValueType type, Class<?> clazz)
Set the class to use for deserialization of the specifiedValueType.- Parameters:
type- theValueTypeto set the default class forclazz- the default class for the specifiedValueType- Returns:
- this instance
-
-