|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.modules.amf.AdaptingAMFMapper
public class AdaptingAMFMapper
AMF mapper that applies an XmlAdapter before mapping to an AMF object.
| Constructor Summary | |
|---|---|
AdaptingAMFMapper(javax.xml.bind.annotation.adapters.XmlAdapter adapter,
AMFMapper adaptingMapper,
AMFMapper adaptedMapper,
java.lang.Class jaxbClass,
java.lang.Class amfClass)
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getAmfClass()
The AMF class supported by this mapper. |
java.lang.Class |
getJaxbClass()
The JAXB class supported by this mapper. |
java.lang.Object |
toAMF(java.lang.Object jaxbObject,
AMFMappingContext context)
Maps a JAXB object to a AMF object. |
java.lang.Object |
toJAXB(java.lang.Object amfObject,
AMFMappingContext context)
Maps a AMF object to a JAXB object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdaptingAMFMapper(javax.xml.bind.annotation.adapters.XmlAdapter adapter,
AMFMapper adaptingMapper,
AMFMapper adaptedMapper,
java.lang.Class jaxbClass,
java.lang.Class amfClass)
| Method Detail |
|---|
public java.lang.Object toAMF(java.lang.Object jaxbObject,
AMFMappingContext context)
throws AMFMappingException
AMFMapper
toAMF in interface AMFMapperjaxbObject - The jaxb object.context - The mapping context.
AMFMappingException
public java.lang.Object toJAXB(java.lang.Object amfObject,
AMFMappingContext context)
throws AMFMappingException
AMFMapper
toJAXB in interface AMFMapperamfObject - The amf object.context - The mapping context.
AMFMappingExceptionpublic java.lang.Class getJaxbClass()
CustomAMFMapper
getJaxbClass in interface CustomAMFMapperpublic java.lang.Class getAmfClass()
CustomAMFMapper
getAmfClass in interface CustomAMFMapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||