| |
|
| java.lang.Object java.util.AbstractMap org.apache.struts2.portlet.PortletApplicationMap
PortletApplicationMap | public class PortletApplicationMap extends AbstractMap implements Serializable(Code) | | Portlet specific
java.util.Map implementation representing the
javax.portlet.PortletContext of a Portlet.
|
Constructor Summary | |
public | PortletApplicationMap(PortletContext ctx) Creates a new map object given the
PortletContext . |
Method Summary | |
public void | clear() Removes all entries from the Map and removes all attributes from the
portlet context. | public Set | entrySet() Creates a Set of all portlet context attributes as well as context init
parameters. | public Object | get(Object key) Returns the portlet context attribute or init parameter based on the
given key. | public Object | put(Object key, Object value) Sets a portlet context attribute given a attribute name and value.
Parameters: key - the name of the attribute. Parameters: value - the value to set. | public Object | remove(Object key) Removes the specified portlet context attribute.
Parameters: key - the attribute to remove. |
PortletApplicationMap | public PortletApplicationMap(PortletContext ctx)(Code) | | Creates a new map object given the
PortletContext .
Parameters: ctx - The portlet context. |
clear | public void clear()(Code) | | Removes all entries from the Map and removes all attributes from the
portlet context.
|
entrySet | public Set entrySet()(Code) | | Creates a Set of all portlet context attributes as well as context init
parameters.
a Set of all portlet context attributes as well as context initparameters. |
get | public Object get(Object key)(Code) | | Returns the portlet context attribute or init parameter based on the
given key. If the entry is not found, null is returned.
Parameters: key - the entry key. the portlet context attribute or init parameter or nullif the entry is not found. |
put | public Object put(Object key, Object value)(Code) | | Sets a portlet context attribute given a attribute name and value.
Parameters: key - the name of the attribute. Parameters: value - the value to set. the attribute that was just set. |
remove | public Object remove(Object key)(Code) | | Removes the specified portlet context attribute.
Parameters: key - the attribute to remove. the entry that was just removed. |
|
|
|