|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.collection.MapContextMap
@Deprecated public final class MapContextMap
| Constructor Summary | |
|---|---|
MapContextMap()
Deprecated. |
|
MapContextMap(java.util.Map<java.lang.String,java.lang.Object> map)
Deprecated. |
|
| Method Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
createDefaultMap()
Deprecated. |
java.lang.Object |
get(UIXRenderingContext context,
java.lang.Object key)
Deprecated. Returns the Object stored under the key, returning null if no Object with that key exists. |
java.util.Iterator<java.lang.String> |
keys(UIXRenderingContext context)
Deprecated. Returns an Iterator of all of the keys in the ContextMap given the specified context. |
void |
set(java.lang.String key,
java.lang.Object value)
Deprecated. Stores the value in the map, under the key. |
int |
size()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapContextMap()
public MapContextMap(java.util.Map<java.lang.String,java.lang.Object> map)
| Method Detail |
|---|
public java.lang.Object get(UIXRenderingContext context,
java.lang.Object key)
ContextMapnull if no Object with that key exists.
get in interface ContextMapcontext - RenderingContext to use to fulfill this requestkey - key used to retrieve the value
null if
no value is found.
public void set(java.lang.String key,
java.lang.Object value)
ContextMapvalue in the map, under the key.
As the RenderingContext is not passed to this function, sets do not have the same databinding capabilities that gets do.
set in interface ContextMapkey - key used to set the valuevalue - The new value to setpublic java.util.Iterator<java.lang.String> keys(UIXRenderingContext context)
ContextMap
The entire contents of the ContextMap can
be retrieved by calling ContextMap.get for each of the keys
in the enumeration.
keys in interface ContextMappublic int size()
protected java.util.Map<java.lang.String,java.lang.Object> createDefaultMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||