Liferay 7.0-ga1 portal-impl

com.liferay.portal.json
Class UnmodifiableJSONObjectImpl

java.lang.Object
  extended by com.liferay.portal.json.JSONObjectImpl
      extended by 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

Constructor Summary
UnmodifiableJSONObjectImpl()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmodifiableJSONObjectImpl

public UnmodifiableJSONObjectImpl()
Method Detail

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

Liferay 7.0-ga1 portal-impl