public abstract class SimpleBeanConverter<S,T> extends AbstractBeanConverter<S,T>
beanMapper
Constructor and Description |
---|
SimpleBeanConverter()
Construct a new bean converter, dynamically resolving the source and target class.
|
SimpleBeanConverter(Class<?> sourceClass,
Class<?> targetClass)
Construct a new bean converter, manually declaring the source and target class.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
doConvert(S source)
Convert the source instance into our target type.
|
protected Object |
doConvert(S source,
Class<? extends T> targetClass)
Convert a source instance to the target type.
|
convert, isMatchingSource, isMatchingTarget, match
public SimpleBeanConverter()
protected final Object doConvert(S source, Class<? extends T> targetClass)
doConvert
in class AbstractBeanConverter<S,T>
source
- the source instancetargetClass
- the class type to convert toCopyright © 2015–2018 42 BV. All rights reserved.