com.senseidb.search.client.json.req
Class SelectionJsonHandler

java.lang.Object
  extended by com.senseidb.search.client.json.req.SelectionJsonHandler
All Implemented Interfaces:
JsonHandler<Selection>

public class SelectionJsonHandler
extends Object
implements JsonHandler<Selection>


Field Summary
static Map<String,Class<? extends Selection>> selectionClasses
           
 
Constructor Summary
SelectionJsonHandler()
           
 
Method Summary
 Selection deserialize(org.json.JSONObject json)
           
 org.json.JSONObject serialize(Selection bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectionClasses

public static Map<String,Class<? extends Selection>> selectionClasses
Constructor Detail

SelectionJsonHandler

public SelectionJsonHandler()
Method Detail

serialize

public org.json.JSONObject serialize(Selection bean)
                              throws org.json.JSONException
Specified by:
serialize in interface JsonHandler<Selection>
Throws:
org.json.JSONException

deserialize

public Selection deserialize(org.json.JSONObject json)
                      throws org.json.JSONException
Specified by:
deserialize in interface JsonHandler<Selection>
Throws:
org.json.JSONException


Copyright © 2010-2012. All Rights Reserved.