Class EnumConverter<T extends Enum<T>>
- java.lang.Object
-
- org.apache.johnzon.mapper.converter.EnumConverter<T>
-
- All Implemented Interfaces:
Converter<T>
,Converter.TypeAccess
,MapperConfig.CustomEnumConverter<T>
,MapperConverter
public class EnumConverter<T extends Enum<T>> extends Object implements MapperConfig.CustomEnumConverter<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.johnzon.mapper.Converter
Converter.TypeAccess
-
-
Constructor Summary
Constructors Constructor Description EnumConverter(Class<T> aClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
fromString(String text)
String
toString()
String
toString(T instance)
Type
type()
-