Liferay 6.2-ce-ga5

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:
JSONObject, Externalizable, Serializable

public class UnmodifiableJSONObjectImpl
extends JSONObjectImpl

See Also:
Serialized Form

Constructor Summary
UnmodifiableJSONObjectImpl()
           
 
Method Summary
 Iterator<String> keys()
           
 JSONObject put(String key, boolean value)
           
 JSONObject put(String key, Date value)
           
 JSONObject put(String key, double value)
           
 JSONObject put(String key, int value)
           
 JSONObject put(String key, JSONArray value)
           
 JSONObject put(String key, JSONObject value)
           
 JSONObject put(String key, long value)
           
 JSONObject put(String key, String value)
           
 JSONObject putException(Exception exception)
           
 Object remove(String key)
           
 
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
 
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 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

Liferay 6.2-ce-ga5