|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
com.opensymphony.webwork.portlet.PortletApplicationMap
public class PortletApplicationMap
Portlet specific Map
implementation representing the
PortletContext
of a Portlet.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry |
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. |
Set |
entrySet()
Creates a Set of all portlet context attributes as well as context init parameters. |
Object |
get(Object key)
Returns the portlet context attribute or init parameter based on the given key. |
Object |
put(Object key,
Object value)
Sets a portlet context attribute given a attribute name and value. |
Object |
remove(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 Map
clear
in class AbstractMap
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
key
- the entry key.
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
key
- the name of the attribute.value
- the value to set.
public Object remove(Object key)
remove
in interface Map
remove
in class AbstractMap
key
- the attribute to remove.
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |