com.browseengine.bobo.server.protocol
Class BrowseJSONSerializer
java.lang.Object
com.browseengine.bobo.server.protocol.BrowseJSONSerializer
public class BrowseJSONSerializer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Selection_Type_Simple
public static final short Selection_Type_Simple
- See Also:
- Constant Field Values
Selection_Type_Path
public static final short Selection_Type_Path
- See Also:
- Constant Field Values
Selection_Type_Range
public static final short Selection_Type_Range
- See Also:
- Constant Field Values
Operation_Type_Or
public static final short Operation_Type_Or
- See Also:
- Constant Field Values
Operation_Type_And
public static final short Operation_Type_And
- See Also:
- Constant Field Values
BrowseJSONSerializer
public BrowseJSONSerializer()
serialize
public static String serialize(BrowseRequest req)
serializeValues
public static org.json.JSONObject serializeValues(Map<String,String[]> values)
throws org.json.JSONException
- TODO: need to add support for multiple values.
- Parameters:
doc -
- Returns:
-
- Throws:
org.json.JSONException
serializeHits
public static org.json.JSONObject serializeHits(BrowseHit hit)
throws org.json.JSONException
- Throws:
org.json.JSONException
serialize
public static String serialize(BrowseResult result)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2005-2012. All Rights Reserved.