|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap
org.apache.struts2.portlet.PortletApplicationMap
public class PortletApplicationMap
Portlet specific Map implementation representing the
PortletContext of a Portlet.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
PortletApplicationMap(javax.portlet.PortletContext ctx)
Creates a new map object given the PortletContext. |
|
| Method Summary | |
|---|---|
void |
clear()
Removes all entries from the Map and removes all attributes from the portlet context. |
java.util.Set |
entrySet()
Creates a Set of all portlet context attributes as well as context init parameters. |
java.lang.Object |
get(java.lang.Object key)
Returns the portlet context attribute or init parameter based on the given key. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Sets a portlet context attribute given a attribute name and value. |
java.lang.Object |
remove(java.lang.Object key)
Removes the specified portlet context attribute. |
| Methods inherited from class java.util.AbstractMap |
|---|
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortletApplicationMap(javax.portlet.PortletContext ctx)
PortletContext.
ctx - The portlet context.| Method Detail |
|---|
public void clear()
clear in interface java.util.Mapclear in class java.util.AbstractMappublic java.util.Set entrySet()
entrySet in interface java.util.MapentrySet in class java.util.AbstractMappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Mapget in class java.util.AbstractMapkey - the entry key.
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mapput in class java.util.AbstractMapkey - the name of the attribute.value - the value to set.
public java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mapremove in class java.util.AbstractMapkey - the attribute to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||