Class DefaultConverters.EnumConverterFactory
- java.lang.Object
-
- com.oracle.coherence.io.json.genson.convert.DefaultConverters.EnumConverterFactory
-
-
Field Summary
Fields Modifier and Type Field Description booleancaseSensitivestatic DefaultConverters.EnumConverterFactoryinstance
-
Constructor Summary
Constructors Constructor Description EnumConverterFactory(boolean caseSensitive)
-
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 DefaultConverters.EnumConverterFactory instance
-
caseSensitive
public final boolean caseSensitive
-
-
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.
-
-