public class UseConverterStrategy extends AbstractMappingStrategy
MappingStrategy.KeydestinationType, sourceType| Constructor and Description |
|---|
UseConverterStrategy(Type<Object> sourceType,
Type<Object> destinationType,
Converter<Object,Object> converter,
UnenhanceStrategy unenhancer)
Creates a new instance of UseConverterStrategy
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMembers(Map<String,Object> members) |
Object |
map(Object sourceObject,
Object destinationObject,
MappingContext context)
Perform the mapping
|
getAType, getBType, toStringpublic Object map(Object sourceObject, Object destinationObject, MappingContext context)
MappingStrategysourceObject - the source object to mapdestinationObject - the pre-instantiated destination object onto which properties
should be copied; may be nullcontext - the current mapping contextprotected void describeMembers(Map<String,Object> members)
describeMembers in class AbstractMappingStrategyCopyright © 2016 Glasnost. All rights reserved.