com.sdicons.json.mapper.helper.impl
Class IntegerMapper

java.lang.Object
  extended by com.sdicons.json.mapper.helper.impl.IntegerMapper
All Implemented Interfaces:
Helper, SimpleMapperHelper

public class IntegerMapper
extends Object
implements SimpleMapperHelper


Constructor Summary
IntegerMapper()
           
 
Method Summary
 Class getHelpedClass()
           
 Object toJava(JSONValue aValue, Class aRequestedClass)
           
 JSONValue toJSON(Object aPojo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerMapper

public IntegerMapper()
Method Detail

getHelpedClass

public Class getHelpedClass()
Specified by:
getHelpedClass in interface Helper

toJava

public Object toJava(JSONValue aValue,
                     Class aRequestedClass)
              throws MapperException
Specified by:
toJava in interface SimpleMapperHelper
Throws:
MapperException

toJSON

public JSONValue toJSON(Object aPojo)
                 throws MapperException
Specified by:
toJSON in interface SimpleMapperHelper
Throws:
MapperException


Copyright © 2011. All Rights Reserved.