Class EnumConverter.Factory
- java.lang.Object
-
- com.oracle.coherence.io.json.internal.EnumConverter.Factory
-
-
Field Summary
Fields Modifier and Type Field Description static EnumConverter.FactoryINSTANCEThe singleton factory instance.
-
Constructor Summary
Constructors Modifier Constructor Description protectedFactory()Construct a newFactoryinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Converter<Enum<?>>create(Type type, Genson genson)Implementations of this method must try to create an instance of type T based on the parameter "type".
-
-
-
Field Detail
-
INSTANCE
public static final EnumConverter.Factory INSTANCE
The singleton factory instance.
-
-
Method Detail
-
create
public Converter<Enum<?>> create(Type type, Genson genson)
Description copied from interface:FactoryImplementations of this method must try to create an instance of type T based on the parameter "type". If this factory can not create an object of type T for parameter type then it must return null.
-
-