|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.json.client.JSONValue
public abstract class JSONValue
The superclass of all JSON value types.
JSONArray,
JSONBoolean,
JSONNumber,
JSONObject,
JSONString| Constructor Summary | |
|---|---|
JSONValue()
Not subclassable outside this package. |
|
| Method Summary | |
|---|---|
(package private) abstract JavaScriptObject |
getUnwrapper()
Internal. |
JSONArray |
isArray()
Returns a non-null reference if this JSONValue is really a JSONArray. |
JSONBoolean |
isBoolean()
Returns a non-null reference if this JSONValue is really a JSONBoolean. |
JSONNull |
isNull()
Returns a non-null reference if this JSONValue is really a JSONNull. |
JSONNumber |
isNumber()
Returns a non-null reference if this JSONValue is really a JSONNumber. |
JSONObject |
isObject()
Returns non-null if this JSONValue is really a JSONObject. |
JSONString |
isString()
Returns a non-null reference if this JSONValue is really a JSONString. |
abstract java.lang.String |
toString()
Returns a JSON-encoded string for this entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
JSONValue()
| Method Detail |
|---|
public JSONArray isArray()
null otherwise.public JSONBoolean isBoolean()
null otherwise.public JSONNull isNull()
null otherwise.public JSONNumber isNumber()
null otherwise.public JSONObject isObject()
null otherwise.public JSONString isString()
null otherwise.public abstract java.lang.String toString()
toString in class java.lang.Objectabstract JavaScriptObject getUnwrapper()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||