org.codehaus.enunciate.modules.gwt
Class DefaultGWTMapper
java.lang.Object
org.codehaus.enunciate.modules.gwt.DefaultGWTMapper
- All Implemented Interfaces:
- GWTMapper
public class DefaultGWTMapper
- extends Object
- implements GWTMapper
Default mapper assumes the class is supported by GWT.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final GWTMapper INSTANCE
DefaultGWTMapper
public DefaultGWTMapper()
toGWT
public Object toGWT(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 Object toJAXB(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