com.sdicons.json.serializer.helper.impl
Class CharacterHelper

java.lang.Object
  extended by com.sdicons.json.serializer.helper.impl.AbstractHelper
      extended by com.sdicons.json.serializer.helper.impl.CharacterHelper
All Implemented Interfaces:
Helper, MarshallHelper

public class CharacterHelper
extends AbstractHelper


Constructor Summary
CharacterHelper()
           
 
Method Summary
 Class getHelpedClass()
           
 Object parseValue(JSONObject aObjectElement, JSONMarshall aMarshall, HashMap aPool)
          Convert JSON representation into an instance of a class.
 
Methods inherited from class com.sdicons.json.serializer.helper.impl.AbstractHelper
equals, renderValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterHelper

public CharacterHelper()
Method Detail

parseValue

public Object parseValue(JSONObject aObjectElement,
                         JSONMarshall aMarshall,
                         HashMap aPool)
                  throws MarshallException
Description copied from interface: MarshallHelper
Convert JSON representation into an instance of a class.

Parameters:
aObjectElement - The source element we have to convert into an object.
aMarshall - The marshall we can use to convert sub elements into subobjects to compose our target object.
aPool - A pool of objects already encountered. Is used to resolve references.
Returns:
The newly created object.
Throws:
MarshallException

getHelpedClass

public Class getHelpedClass()


Copyright © 2011. All Rights Reserved.