Package | Description |
---|---|
org.apache.wicket.ajax | |
org.apache.wicket.ajax.json | |
org.apache.wicket.atmosphere.config |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDefaultAjaxBehavior.postprocessConfiguration(JSONObject attributesJson,
Component component)
Gives a chance to modify the JSON attributesJson that is going to be used as attributes for
the Ajax call.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
JSONObject.accumulate(String name,
Object value)
Appends
value to the array already mapped to name . |
JSONObject |
JSONObject.append(String name,
Object value)
Appends values to the array mapped to
name . |
JSONObject |
JSONArray.getJSONObject(int index)
Returns the value at
index if it exists and is a JSONObject . |
JSONObject |
JSONObject.getJSONObject(String name)
Returns the value mapped by
name if it exists and is a JSONObject , or throws otherwise. |
JSONObject |
JSONObject.increment(String string)
Deprecated.
since 6.27.0/7.7.0 for legal reasons.
|
JSONObject |
JSONArray.optJSONObject(int index)
Returns the value at
index if it exists and is a JSONObject . |
JSONObject |
JSONObject.optJSONObject(String name)
Returns the value mapped by
name if it exists and is a JSONObject , or null otherwise. |
JSONObject |
JSONObject.put(String name,
boolean value)
Maps
name to value , clobbering any existing name/value
mapping with the same name. |
JSONObject |
JSONObject.put(String string,
Collection collection)
Deprecated.
since 6.27.0/7.7.0 for legal reasons.
|
JSONObject |
JSONObject.put(String name,
double value)
Maps
name to value , clobbering any existing name/value
mapping with the same name. |
JSONObject |
JSONObject.put(String name,
int value)
Maps
name to value , clobbering any existing name/value
mapping with the same name. |
JSONObject |
JSONObject.put(String name,
long value)
Maps
name to value , clobbering any existing name/value
mapping with the same name. |
JSONObject |
JSONObject.put(String string,
Map map)
Deprecated.
since 6.27.0/7.7.0 for legal reasons.
|
JSONObject |
JSONObject.put(String name,
Object value)
Maps
name to value , clobbering any existing name/value
mapping with the same name. |
JSONObject |
JSONObject.putOnce(String string,
Object object)
Deprecated.
since 6.27.0/7.7.0 for legal reasons.
|
JSONObject |
JSONObject.putOpt(String name,
Object value)
Equivalent to
put(name, value) when both parameters are non-null;
does nothing otherwise. |
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Deprecated.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Returns a new object whose values are the values in this array, and whose
names are the values in
names . |
static JSONObject |
CookieList.toJSONObject(String string)
Deprecated.
|
static JSONObject |
Cookie.toJSONObject(String string)
Deprecated.
|
static JSONObject |
JSONML.toJSONObject(String string)
Deprecated.
|
static JSONObject |
XML.toJSONObject(String string)
Deprecated.
|
static JSONObject |
HTTP.toJSONObject(String string)
Deprecated.
|
static JSONObject |
JSONML.toJSONObject(XMLTokener x)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
JSONObject.getNames(JSONObject x) |
static String |
CookieList.toString(JSONObject jo)
Deprecated.
|
static String |
Cookie.toString(JSONObject jo)
Deprecated.
|
static String |
JSONML.toString(JSONObject jo)
Deprecated.
|
static String |
HTTP.toString(JSONObject jo)
Deprecated.
|
Constructor and Description |
---|
JSONObject(JSONObject copyFrom,
String[] names)
Creates a new
JSONObject by copying mappings for the listed names
from the given object. |
Modifier and Type | Method and Description |
---|---|
JSONObject |
AtmosphereParameters.toJSON()
Transforms the paramters into a JSON object.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.