public class DefaultMapper extends java.lang.Object implements Mapper
addMapping(DefaultMapping)
Constructor and Description |
---|
DefaultMapper() |
Modifier and Type | Method and Description |
---|---|
DefaultMapper |
addMapping(DefaultMapping mapping)
Add a mapping to this mapper.
|
Mapping[] |
getMappings()
Returns this mapper's list of mappings.
|
MappingResults |
map(java.lang.Object source,
java.lang.Object target)
Map state from a source object to a target object.
|
java.lang.String |
toString() |
public DefaultMapper addMapping(DefaultMapping mapping)
mapping
- the mapping to add (required)public Mapping[] getMappings()
public MappingResults map(java.lang.Object source, java.lang.Object target)
Mapper
public java.lang.String toString()
toString
in class java.lang.Object