public final class CmsJSONMap
extends com.google.gwt.core.client.JavaScriptObject
限定符 | 构造器和说明 |
---|---|
protected |
CmsJSONMap()
Not directly instantiable.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
containsKey(java.lang.String key)
Returns if the given key is present in the map.
|
static CmsJSONMap |
createJSONMap()
Creates a native javascript object to be used as a JSON map.
|
boolean |
getBoolean(java.lang.String key)
Returns the value to the given key.
|
boolean[] |
getBooleanArray(java.lang.String key)
Returns the value to the given key.
|
double |
getDouble(java.lang.String key)
Returns the value to the given key.
|
double[] |
getDoubleArray(java.lang.String key)
Returns the value to the given key.
|
int |
getInt(java.lang.String key)
Returns the value to the given key.
|
int[] |
getIntArray(java.lang.String key)
Returns the value to the given key.
|
com.google.gwt.core.client.JavaScriptObject |
getJavaScriptObject(java.lang.String key)
Returns the value to the given key.
|
com.google.gwt.core.client.JavaScriptObject[] |
getJavaScriptObjectArray(java.lang.String key)
Returns the value to the given key.
|
java.lang.String |
getString(java.lang.String key)
Returns the value to the given key.
|
java.lang.String[] |
getStringArray(java.lang.String key)
Returns the value to the given key.
|
void |
put(java.lang.String key,
boolean value)
Puts the value into the map.
|
void |
put(java.lang.String key,
boolean[] value)
Puts the value into the map.
|
void |
put(java.lang.String key,
double value)
Puts the value into the map.
|
void |
put(java.lang.String key,
double[] value)
Puts the value into the map.
|
void |
put(java.lang.String key,
int value)
Puts the value into the map.
|
void |
put(java.lang.String key,
int[] value)
Puts the value into the map.
|
void |
put(java.lang.String key,
com.google.gwt.core.client.JavaScriptObject value)
Puts the value into the map.
|
void |
put(java.lang.String key,
com.google.gwt.core.client.JavaScriptObject[] value)
Puts the value into the map.
|
void |
put(java.lang.String key,
java.lang.String value)
Puts the value into the map.
|
void |
put(java.lang.String key,
java.lang.String[] value)
Puts the value into the map.
|
protected CmsJSONMap()
public static CmsJSONMap createJSONMap()
public boolean containsKey(java.lang.String key)
key
- the keytrue
if the map contains the keypublic boolean getBoolean(java.lang.String key)
key
- the keypublic boolean[] getBooleanArray(java.lang.String key)
key
- the keypublic double getDouble(java.lang.String key)
key
- the keypublic double[] getDoubleArray(java.lang.String key)
key
- the keypublic int getInt(java.lang.String key)
key
- the keypublic int[] getIntArray(java.lang.String key)
key
- the keypublic com.google.gwt.core.client.JavaScriptObject getJavaScriptObject(java.lang.String key)
key
- the keypublic com.google.gwt.core.client.JavaScriptObject[] getJavaScriptObjectArray(java.lang.String key)
key
- the keypublic java.lang.String getString(java.lang.String key)
key
- the keypublic java.lang.String[] getStringArray(java.lang.String key)
key
- the keypublic void put(java.lang.String key, boolean value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, boolean[] value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, double value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, double[] value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, int value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, int[] value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, com.google.gwt.core.client.JavaScriptObject value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, com.google.gwt.core.client.JavaScriptObject[] value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, java.lang.String value)
key
- the keyvalue
- the valuepublic void put(java.lang.String key, java.lang.String[] value)
key
- the keyvalue
- the value