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

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

public class LongMapper
extends Object
implements SimpleMapperHelper


Constructor Summary
LongMapper()
           
 
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

LongMapper

public LongMapper()
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.