com.liferay.portal.json
Class UnmodifiableJSONObjectImpl
java.lang.Object
com.liferay.portal.json.JSONObjectImpl
com.liferay.portal.json.UnmodifiableJSONObjectImpl
- All Implemented Interfaces:
- JSONObject, Externalizable, Serializable
public class UnmodifiableJSONObjectImpl
- extends JSONObjectImpl
- See Also:
- Serialized Form
Methods inherited from class com.liferay.portal.json.JSONObjectImpl |
getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getJSONArray, getJSONObject, getJSONObject, getLong, getLong, getString, getString, has, isNull, length, names, readExternal, toString, toString, write, writeExternal |
UnmodifiableJSONObjectImpl
public UnmodifiableJSONObjectImpl()
keys
public Iterator<String> keys()
- Specified by:
keys
in interface JSONObject
- Overrides:
keys
in class JSONObjectImpl
put
public JSONObject put(String key,
boolean value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
Date value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
double value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
int value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
JSONArray value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
JSONObject value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
long value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
put
public JSONObject put(String key,
String value)
- Specified by:
put
in interface JSONObject
- Overrides:
put
in class JSONObjectImpl
putException
public JSONObject putException(Exception exception)
- Specified by:
putException
in interface JSONObject
- Overrides:
putException
in class JSONObjectImpl
remove
public Object remove(String key)
- Specified by:
remove
in interface JSONObject
- Overrides:
remove
in class JSONObjectImpl