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

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

public class CollectionMapper
extends Object
implements ComplexMapperHelper


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

CollectionMapper

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