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

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

public class BooleanMapper
extends Object
implements SimpleMapperHelper


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

BooleanMapper

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