|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
MappingDefinition |
getDefinition()
Returns the mapper definition (the mapping metadata) |
java.lang.Object |
map(java.lang.Object o)
Maps the given object. |
java.lang.Object |
map(java.lang.String category,
java.lang.Object o)
Maps the given object. |
Method Detail |
public java.lang.Object map(java.lang.Object o)
If the mapper needs to find another mapper, it will search a mapper that belongs to the default category
o
- the object to map
public java.lang.Object map(java.lang.String category, java.lang.Object o)
If the mapper needs to find another mapper, it will search a mapper that
belongs to the given category
category
- the category in which to search for the registered mapperso
- the object to map
MappingException
- if no mapper is not foundpublic MappingDefinition getDefinition()
MappingDefinition
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |