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

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

public class MapMapper
extends Object
implements ComplexMapperHelper


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

Constructor Detail

MapMapper

public MapMapper()
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

toJava

public Object toJava(JSONValue aValue,
                     Class aRawClass,
                     Type[] aTypes)
              throws MapperException
Specified by:
toJava in interface ComplexMapperHelper
Throws:
MapperException

toJSON

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


Copyright © 2011. All Rights Reserved.