|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.binding.mapping.impl.DefaultMapper
public class DefaultMapper
Generic mapper implementation that allows mappings to be configured programatically.
addMapping(DefaultMapping)
Constructor Summary | |
---|---|
DefaultMapper()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultMapper()
Method Detail |
---|
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
map
in interface Mapper
source
- the sourcetarget
- the target
public java.lang.String toString()
toString
in class java.lang.Object
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |