Uses of Class
org.eclipse.rap.json.JsonValue
-
Packages that use JsonValue Package Description org.eclipse.rap.json org.eclipse.rap.rwt.remote -
-
Uses of JsonValue in org.eclipse.rap.json
Subclasses of JsonValue in org.eclipse.rap.json Modifier and Type Class Description classJsonArray/** Represents a JSON array, i.e.classJsonObjectRepresents a JSON object, i.e.Fields in org.eclipse.rap.json declared as JsonValue Modifier and Type Field Description static JsonValueJsonValue. FALSERepresents the JSON literalfalse.static JsonValueJsonValue. NULLThe JSON literalnull.static JsonValueJsonValue. TRUERepresents the JSON literaltrue.Methods in org.eclipse.rap.json that return JsonValue Modifier and Type Method Description JsonValueJsonArray. get(int index)Returns the value of the element at the specified position in this array.JsonValueJsonObject. get(java.lang.String name)Returns the value of the member with the specified name in this object.JsonValueJsonObject.Member. getValue()Returns the value of this member.static JsonValueJsonValue. readFrom(java.io.Reader reader)Reads a JSON value from the given reader.static JsonValueJsonValue. readFrom(java.lang.String text)Reads a JSON value from the given string.static JsonValueJsonValue. valueOf(boolean value)Returns a JsonValue instance that represents the givenbooleanvalue.static JsonValueJsonValue. valueOf(double value)Returns a JsonValue instance that represents the givendoublevalue.static JsonValueJsonValue. valueOf(float value)Returns a JsonValue instance that represents the givenfloatvalue.static JsonValueJsonValue. valueOf(int value)Returns a JsonValue instance that represents the givenintvalue.static JsonValueJsonValue. valueOf(long value)Returns a JsonValue instance that represents the givenlongvalue.static JsonValueJsonValue. valueOf(java.lang.String string)Returns a JsonValue instance that represents the given string.Methods in org.eclipse.rap.json that return types with arguments of type JsonValue Modifier and Type Method Description java.util.Iterator<JsonValue>JsonArray. iterator()Returns an iterator over the values of this array in document order.java.util.List<JsonValue>JsonArray. values()Returns a list of the values in this array in document order.Methods in org.eclipse.rap.json with parameters of type JsonValue Modifier and Type Method Description JsonArrayJsonArray. add(JsonValue value)Adds the specified JSON value to the array.JsonObjectJsonObject. add(java.lang.String name, JsonValue value)Adds a new member at the end of this object, with the specified name and the specified JSON value.JsonArrayJsonArray. set(int index, JsonValue value)Replaces the element at the specified position in this array with the specified JSON value.JsonObjectJsonObject. set(java.lang.String name, JsonValue value)Sets the value of the member with the specified name to the specified JSON value. -
Uses of JsonValue in org.eclipse.rap.rwt.remote
Methods in org.eclipse.rap.rwt.remote that return JsonValue Modifier and Type Method Description static JsonValueJsonMapping. toJson(Color color)Returns the JSON representation for the given Color.static JsonValueJsonMapping. toJson(Color color, int alpha)Returns the JSON representation for the given Color with an additional alpha (opacity) value.static JsonValueJsonMapping. toJson(Cursor cursor)Returns the JSON representation for the given Cursor.static JsonValueJsonMapping. toJson(Font font)Returns the JSON representation for the given Font.static JsonValueJsonMapping. toJson(FontData fontData)Returns the JSON representation for the given FontData.static JsonValueJsonMapping. toJson(Image image)Returns the JSON representation for the given Image.static JsonValueJsonMapping. toJson(Point point)Returns the JSON representation for the given Point.static JsonValueJsonMapping. toJson(Point[] points)Returns the JSON representation for the given array Point.static JsonValueJsonMapping. toJson(Rectangle rect)Returns the JSON representation for the given Rectangle.static JsonValueJsonMapping. toJson(RGB rgb)Returns the JSON representation for the given RGB.static JsonValueJsonMapping. toJson(RGB rgb, int alpha)Returns the JSON representation for the given RGB with an additional alpha (opacity) value.static JsonValueJsonMapping. toJson(Widget widget)Returns the JSON representation for the given Widget.static JsonValueJsonMapping. toJson(Widget[] widgets)Returns the JSON representation for the given array of widgets.Methods in org.eclipse.rap.rwt.remote with parameters of type JsonValue Modifier and Type Method Description static PointJsonMapping. readPoint(JsonValue value)Returns an instance of Point for the given JSON representation.static RectangleJsonMapping. readRectangle(JsonValue value)Returns an instance of Rectangle for the given JSON representation.static RGBJsonMapping. readRGB(JsonValue value)Returns an instance of RGB for the given JSON representation.voidRemoteObject. set(java.lang.String name, JsonValue value)Sets the specified property of the remote object to the given value.
-