public class StringToEnumConverter extends AbstractBeanConverter<String,Enum<?>>
beanMapper
Constructor and Description |
---|
StringToEnumConverter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doConvert(String name,
Class<? extends Enum<?>> targetClass)
Convert a source instance to the target type.
|
convert, isMatchingSource, isMatchingTarget, match
protected Object doConvert(String name, Class<? extends Enum<?>> targetClass)
doConvert
in class AbstractBeanConverter<String,Enum<?>>
name
- the source instancetargetClass
- the class type to convert toCopyright © 2015-2016 42 BV. All Rights Reserved.