org.codehaus.enunciate.modules.gwt
Class BigIntegerGWTMapper

java.lang.Object
  extended by org.codehaus.enunciate.modules.gwt.BigIntegerGWTMapper
All Implemented Interfaces:
CustomGWTMapper<java.math.BigInteger,java.lang.String>, GWTMapper<java.math.BigInteger,java.lang.String>

public class BigIntegerGWTMapper
extends java.lang.Object
implements CustomGWTMapper<java.math.BigInteger,java.lang.String>

Author:
Ryan Heaton

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

BigIntegerGWTMapper

public BigIntegerGWTMapper()
Method Detail

toGWT

public java.lang.String toGWT(java.math.BigInteger 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.math.BigInteger,java.lang.String>
Parameters:
jaxbObject - The jaxb object.
context - The mapping context.
Returns:
The GWT object.
Throws:
GWTMappingException

toJAXB

public java.math.BigInteger 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.math.BigInteger,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.math.BigInteger> getJaxbClass()
Description copied from interface: CustomGWTMapper
The JAXB class supported by this mapper.

Specified by:
getJaxbClass in interface CustomGWTMapper<java.math.BigInteger,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.math.BigInteger,java.lang.String>
Returns:
The GWT class supported by this mapper.