org.codehaus.enunciate.modules.gwt
Class ArrayGWTMapper

java.lang.Object
  extended by org.codehaus.enunciate.modules.gwt.ArrayGWTMapper
All Implemented Interfaces:
CustomGWTMapper, GWTMapper

public class ArrayGWTMapper
extends java.lang.Object
implements CustomGWTMapper

Author:
Ryan Heaton

Constructor Summary
ArrayGWTMapper(java.lang.reflect.Type declaredComponentType, javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter adapterInfo, javax.xml.bind.annotation.XmlElement elementInfo)
           
 
Method Summary
 java.lang.Class getGwtClass()
          The GWT class supported by this mapper.
 java.lang.Class getJaxbClass()
          The JAXB class supported by this mapper.
 java.lang.Object toGWT(java.lang.Object jaxbObject, GWTMappingContext context)
          Maps a JAXB object to a GWT object.
 java.lang.Object toJAXB(java.lang.Object gwtObject, GWTMappingContext context)
          Maps a GWT 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

ArrayGWTMapper

public ArrayGWTMapper(java.lang.reflect.Type declaredComponentType,
                      javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter adapterInfo,
                      javax.xml.bind.annotation.XmlElement elementInfo)
Method Detail

toGWT

public java.lang.Object toGWT(java.lang.Object jaxbObject,
                              GWTMappingContext context)
                       throws GWTMappingException
Description copied from interface: GWTMapper
Maps a JAXB object to a GWT object.

Specified by:
toGWT in interface GWTMapper
Parameters:
jaxbObject - The jaxb object.
context - The mapping context.
Returns:
The GWT object.
Throws:
GWTMappingException

toJAXB

public java.lang.Object toJAXB(java.lang.Object gwtObject,
                               GWTMappingContext context)
                        throws GWTMappingException
Description copied from interface: GWTMapper
Maps a GWT object to a JAXB object.

Specified by:
toJAXB in interface GWTMapper
Parameters:
gwtObject - The gwt object.
context - The mapping context.
Returns:
The JAXB object.
Throws:
GWTMappingException

getJaxbClass

public java.lang.Class getJaxbClass()
Description copied from interface: CustomGWTMapper
The JAXB class supported by this mapper.

Specified by:
getJaxbClass in interface CustomGWTMapper
Returns:
The JAXB class supported by this mapper.

getGwtClass

public java.lang.Class getGwtClass()
Description copied from interface: CustomGWTMapper
The GWT class supported by this mapper.

Specified by:
getGwtClass in interface CustomGWTMapper
Returns:
The GWT class supported by this mapper.