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

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

public class ArrayMapper
extends Object
implements SimpleMapperHelper


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

Constructor Detail

ArrayMapper

public ArrayMapper()
Method Detail

toJSON

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

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


Copyright © 2011. All Rights Reserved.