public class UnmodifiableJSONObjectImpl extends JSONObjectImpl
Constructor and Description |
---|
UnmodifiableJSONObjectImpl() |
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
keys() |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
boolean value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
Date value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
double value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
int value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
com.liferay.portal.kernel.json.JSONArray value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
com.liferay.portal.kernel.json.JSONObject value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
long value) |
com.liferay.portal.kernel.json.JSONObject |
put(String key,
String value) |
com.liferay.portal.kernel.json.JSONObject |
putException(Exception exception) |
Object |
remove(String key) |
get, getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getJSONArray, getJSONObject, getJSONObject, getLong, getLong, getString, getString, has, isNull, length, names, put, readExternal, toJSONString, toString, toString, write, writeExternal
public Iterator<String> keys()
keys
in interface com.liferay.portal.kernel.json.JSONObject
keys
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, boolean value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, Date value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, double value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, int value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, com.liferay.portal.kernel.json.JSONArray value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, com.liferay.portal.kernel.json.JSONObject value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, long value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject put(String key, String value)
put
in interface com.liferay.portal.kernel.json.JSONObject
put
in class JSONObjectImpl
public com.liferay.portal.kernel.json.JSONObject putException(Exception exception)
putException
in interface com.liferay.portal.kernel.json.JSONObject
putException
in class JSONObjectImpl
public Object remove(String key)
remove
in interface com.liferay.portal.kernel.json.JSONObject
remove
in class JSONObjectImpl