Constructor and Description |
---|
StringToEnumMapper() |
Modifier and Type | Method and Description |
---|---|
Enum |
convertObject(MapperContext<String,Enum> context)
Convert object from one type to expected type
|
Class<Enum> |
getExpectedReturnType() |
Class<? extends String> |
getTypeOfObjectToConvert() |
public Enum convertObject(MapperContext<String,Enum> context)
Mapper
convertObject
in interface Mapper<String,Enum>
context
- Encapsulates reference to converted object and other things, which might be helpful in conversionpublic Class<? extends String> getTypeOfObjectToConvert()
getTypeOfObjectToConvert
in interface Mapper<String,Enum>
Copyright © 2015. All Rights Reserved.