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