public class JsonRpcGadgetContext extends GadgetContext
| Constructor and Description |
|---|
JsonRpcGadgetContext(org.json.JSONObject context,
org.json.JSONObject gadget) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainer() |
boolean |
getDebug() |
boolean |
getIgnoreCache() |
Locale |
getLocale() |
int |
getModuleId() |
String |
getParameter(String name) |
RenderingContext |
getRenderingContext() |
Uri |
getUrl() |
UserPrefs |
getUserPrefs() |
String |
getView() |
getHost, getToken, getUserAgent, getUserIppublic JsonRpcGadgetContext(org.json.JSONObject context,
org.json.JSONObject gadget)
throws org.json.JSONException
context - Request global parameters.gadget - Values for the gadget being rendered.org.json.JSONException - If parameters can't be extracted or aren't correctly formed.public String getParameter(String name)
getParameter in class GadgetContextname - The parameter to get data for.public String getContainer()
getContainer in class GadgetContextpublic boolean getDebug()
getDebug in class GadgetContextpublic boolean getIgnoreCache()
getIgnoreCache in class GadgetContextpublic Locale getLocale()
getLocale in class GadgetContextpublic int getModuleId()
getModuleId in class GadgetContextpublic RenderingContext getRenderingContext()
getRenderingContext in class GadgetContextpublic Uri getUrl()
getUrl in class GadgetContextpublic UserPrefs getUserPrefs()
getUserPrefs in class GadgetContextpublic String getView()
getView in class GadgetContextCopyright © 2007-2012. All Rights Reserved.