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