org.jboss.wise.core.mapper
Class JAXBMapper

java.lang.Object
  extended by org.jboss.wise.core.mapper.JAXBMapper
All Implemented Interfaces:
WiseMapper

public class JAXBMapper
extends java.lang.Object
implements WiseMapper

A WiseMapper based on JAXB

Author:
stefano.maestri@javalinux.it

Constructor Summary
JAXBMapper()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> applyMapping(java.lang.Object originalObjects)
          apply this mapping to original object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBMapper

public JAXBMapper()
Method Detail

applyMapping

public java.util.Map<java.lang.String,java.lang.Object> applyMapping(java.lang.Object originalObjects)
                                                              throws MappingException
apply this mapping to original object

Specified by:
applyMapping in interface WiseMapper
Returns:
the mapped object in a Map. Keys of this map normally represent symbolic name of mapped Object. For JAXRS conventional key used for standard key/value pairs are "ContentType" and "JAXRSStream"
Throws:
MappingException
See Also:
WiseMapper.applyMapping(java.lang.Object)