org.codehaus.enunciate.modules.gwt
Class URIGWTMapper

java.lang.Object
  extended by org.codehaus.enunciate.modules.gwt.URIGWTMapper
All Implemented Interfaces:
CustomGWTMapper<java.net.URI,java.lang.String>, GWTMapper<java.net.URI,java.lang.String>

public class URIGWTMapper
extends java.lang.Object
implements CustomGWTMapper<java.net.URI,java.lang.String>

Author:
Ryan Heaton

Constructor Summary
URIGWTMapper()
           
 
Method Summary
 java.lang.Class<? extends java.lang.String> getGwtClass()
          The GWT class supported by this mapper.
 java.lang.Class<? extends java.net.URI> getJaxbClass()
          The JAXB class supported by this mapper.
 java.lang.String toGWT(java.net.URI jaxbObject, GWTMappingContext context)
          Maps a JAXB object to a GWT object.
 java.net.URI toJAXB(java.lang.String 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

URIGWTMapper

public URIGWTMapper()
Method Detail

toGWT

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

Specified by:
toGWT in interface GWTMapper<java.net.URI,java.lang.String>
Parameters:
jaxbObject - The jaxb object.
context - The mapping context.
Returns:
The GWT object.
Throws:
GWTMappingException

toJAXB

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

Specified by:
toJAXB in interface GWTMapper<java.net.URI,java.lang.String>
Parameters:
gwtObject - The gwt object.
context - The mapping context.
Returns:
The JAXB object.
Throws:
GWTMappingException

getJaxbClass

public java.lang.Class<? extends java.net.URI> getJaxbClass()
Description copied from interface: CustomGWTMapper
The JAXB class supported by this mapper.

Specified by:
getJaxbClass in interface CustomGWTMapper<java.net.URI,java.lang.String>
Returns:
The JAXB class supported by this mapper.

getGwtClass

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

Specified by:
getGwtClass in interface CustomGWTMapper<java.net.URI,java.lang.String>
Returns:
The GWT class supported by this mapper.