com.liferay.portal.json
Class UnmodifiableJSONObjectImpl
java.lang.Object
com.liferay.portal.json.JSONObjectImpl
com.liferay.portal.json.UnmodifiableJSONObjectImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.json.JSONObject, com.liferay.portal.kernel.json.JSONSerializable, Externalizable, Serializable
public class UnmodifiableJSONObjectImpl
- extends JSONObjectImpl
- See Also:
- Serialized Form
Method Summary |
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)
|
Methods inherited from class com.liferay.portal.json.JSONObjectImpl |
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 |
UnmodifiableJSONObjectImpl
public UnmodifiableJSONObjectImpl()
keys
public Iterator<String> keys()
- Specified by:
keys
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
keys
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
boolean value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
Date value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
double value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
int value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
com.liferay.portal.kernel.json.JSONArray value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
com.liferay.portal.kernel.json.JSONObject value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
long value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public com.liferay.portal.kernel.json.JSONObject put(String key,
String value)
- Specified by:
put
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
put
in class JSONObjectImpl
putException
public com.liferay.portal.kernel.json.JSONObject putException(Exception exception)
- Specified by:
putException
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
putException
in class JSONObjectImpl
remove
public Object remove(String key)
- Specified by:
remove
in interface com.liferay.portal.kernel.json.JSONObject
- Overrides:
remove
in class JSONObjectImpl