public class State extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FACET_COUNTS_PARAM |
static String |
LANG_FILTER_PARAM |
static String |
LIMIT_PARAM |
static String |
OFFSET_PARAM |
static String |
SORT_PARAM |
protected Map<String,Object> |
state |
static String |
TEXT_SEARCH_PARAM |
| Constructor and Description |
|---|
State() |
State(org.apache.jena.atlas.json.JsonObject jstate) |
State(javax.ws.rs.core.MultivaluedMap<String,String> params) |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt(String key,
int deflt)
Return a state component as a integer, if possible, otherwise
return the default.
|
Range |
getRangeFor(DSAPIComponent c)
Return the filter range for this description, or null if there is no restriction
|
String |
getString(String key)
Return a state component as a string
|
boolean |
hasKey(String key) |
Set<String> |
keySet() |
public static final String TEXT_SEARCH_PARAM
public static final String SORT_PARAM
public static final String OFFSET_PARAM
public static final String LIMIT_PARAM
public static final String LANG_FILTER_PARAM
public static final String FACET_COUNTS_PARAM
public State()
public State(org.apache.jena.atlas.json.JsonObject jstate)
public boolean hasKey(String key)
public Range getRangeFor(DSAPIComponent c)
public int getInt(String key, int deflt)
Copyright © 2014. All rights reserved.