|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.plugins.api.web.gwt.client.webservices.JsonUtils
public class JsonUtils
| Nested Class Summary | |
|---|---|
static interface |
JsonUtils.JSONHandler
|
| Constructor Summary | |
|---|---|
JsonUtils()
|
|
| Method Summary | |
|---|---|
static void |
dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj,
JsonUtils.JSONHandler handler)
|
static com.google.gwt.json.client.JSONObject |
getArray(com.google.gwt.json.client.JSONValue json,
int i)
|
static int |
getArraySize(com.google.gwt.json.client.JSONValue array)
|
static java.lang.Double |
getDouble(com.google.gwt.json.client.JSONObject json,
java.lang.String field)
|
static java.lang.String |
getString(com.google.gwt.json.client.JSONObject json,
java.lang.String field)
|
static void |
makeJSONRequest(int requestId,
java.lang.String url,
JsonUtils.JSONHandler handler)
|
static void |
requestJson(java.lang.String url,
JsonUtils.JSONHandler handler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonUtils()
| Method Detail |
|---|
public static void requestJson(java.lang.String url,
JsonUtils.JSONHandler handler)
public static void makeJSONRequest(int requestId,
java.lang.String url,
JsonUtils.JSONHandler handler)
public static void dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj,
JsonUtils.JSONHandler handler)
public static java.lang.String getString(com.google.gwt.json.client.JSONObject json,
java.lang.String field)
public static java.lang.Double getDouble(com.google.gwt.json.client.JSONObject json,
java.lang.String field)
public static com.google.gwt.json.client.JSONObject getArray(com.google.gwt.json.client.JSONValue json,
int i)
public static int getArraySize(com.google.gwt.json.client.JSONValue array)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||