com.senseidb.search.client.json.req.query
Class QueryJsonHandler

java.lang.Object
  extended by com.senseidb.search.client.json.req.query.QueryJsonHandler
All Implemented Interfaces:
JsonHandler<Query>

public class QueryJsonHandler
extends Object
implements JsonHandler<Query>


Constructor Summary
QueryJsonHandler()
           
 
Method Summary
 Query deserialize(org.json.JSONObject json)
           
 org.json.JSONObject serialize(Query bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryJsonHandler

public QueryJsonHandler()
Method Detail

serialize

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

deserialize

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


Copyright © 2010-2012. All Rights Reserved.