public class DefaultConfigurableConverter<SOURCE,TARGET,OPTION> extends Object implements ConfigurableConverter<SOURCE,TARGET,OPTION>
| Constructor and Description |
|---|
DefaultConfigurableConverter() |
| Modifier and Type | Method and Description |
|---|---|
TARGET |
convert(SOURCE source,
TARGET target,
Collection<OPTION> options) |
Collection<OPTION> |
getDefaultOptions() |
protected Map<OPTION,<any>> |
getPopulators() |
Class<TARGET> |
getTargetClass() |
TARGET |
getTargetInstance() |
TARGET |
getTargetInstance(SOURCE source) |
void |
populate(SOURCE source,
TARGET target,
Collection<OPTION> options) |
void |
setDefaultOptions(Collection<OPTION> defaultOptions) |
void |
setPopulators(Map<OPTION,<any>> populators) |
void |
setTargetClass(Class<TARGET> targetClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, convert, convert, convertAll, convertAllconvertAll, convertAllIgnoreExceptions, getLoggerpublic TARGET convert(SOURCE source, TARGET target, Collection<OPTION> options) throws ConversionException
convert in interface ConfigurableConverter<SOURCE,TARGET,OPTION>ConversionExceptionpublic void populate(SOURCE source, TARGET target, Collection<OPTION> options) throws ConversionException
ConversionExceptionpublic TARGET getTargetInstance(SOURCE source)
getTargetInstance in interface ConfigurableConverter<SOURCE,TARGET,OPTION>public TARGET getTargetInstance()
public void setDefaultOptions(Collection<OPTION> defaultOptions)
public Collection<OPTION> getDefaultOptions()
getDefaultOptions in interface ConfigurableConverter<SOURCE,TARGET,OPTION>Copyright © 2017 SAP SE. All Rights Reserved.