public interface BeanConverter
Modifier and Type | Method and Description |
---|---|
Object |
convert(BeanMapper beanMapper,
Object source,
Class<?> targetClass,
BeanFieldMatch beanFieldMatch)
Converts the source instance into the desired target type.
|
boolean |
match(Class<?> sourceClass,
Class<?> targetClass)
Determines if the conversion of our source type to a
target type is supported by this converter.
|
Object convert(BeanMapper beanMapper, Object source, Class<?> targetClass, BeanFieldMatch beanFieldMatch)
beanMapper
- the instance of BeanMapper to use for further mappingssource
- the source instancetargetClass
- the desired target typebeanFieldMatch
- information on the field pair (source / target)Copyright © 2015–2018 42 BV. All rights reserved.