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

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

public class ObjectMapperDirect
extends Object
implements SimpleMapperHelper


Constructor Summary
ObjectMapperDirect()
           
 
Method Summary
protected  Constructor getAnnotatedConstructor(Class aClass)
           
protected  com.sdicons.json.mapper.helper.impl.ObjectMapperDirect.AnnotatedMethods getAnnotatedMethods(Class aClass)
           
protected  Method getAnnotatedSerializingMethod(Class aClass)
           
protected  List<Field> getFieldInfo(Class aClass)
           
 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

ObjectMapperDirect

public ObjectMapperDirect()
Method Detail

getHelpedClass

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

getAnnotatedSerializingMethod

protected Method getAnnotatedSerializingMethod(Class aClass)

getAnnotatedConstructor

protected Constructor getAnnotatedConstructor(Class aClass)

getAnnotatedMethods

protected com.sdicons.json.mapper.helper.impl.ObjectMapperDirect.AnnotatedMethods getAnnotatedMethods(Class aClass)
                                                                                               throws MapperException
Throws:
MapperException

getFieldInfo

protected List<Field> getFieldInfo(Class aClass)

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.