Class DefaultMapper
java.lang.Object
org.springframework.binding.mapping.impl.DefaultMapper
- All Implemented Interfaces:
- Mapper
Generic mapper implementation that allows mappings to be configured programatically.
- Author:
- Keith Donald
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddMapping(DefaultMapping mapping) Add a mapping to this mapper.Mapping[]Returns this mapper's list of mappings.Map state from a source object to a target object.toString()
- 
Constructor Details- 
DefaultMapperpublic DefaultMapper()
 
- 
- 
Method Details- 
addMappingAdd a mapping to this mapper.- Parameters:
- mapping- the mapping to add (required)
- Returns:
- this, to support convenient call chaining
 
- 
getMappingsReturns this mapper's list of mappings.- Returns:
- the list of mappings
 
- 
mapDescription copied from interface:MapperMap state from a source object to a target object.
- 
toString
 
-