| |
|
| java.lang.Object java.util.AbstractMap com.opensymphony.webwork.dispatcher.ApplicationMap
Method Summary | |
public void | clear() Removes all entries from the Map and removes all attributes from the servlet context. | public Set | entrySet() Creates a Set of all servlet context attributes as well as context init parameters. | public Object | get(Object key) Returns the servlet context attribute or init parameter based on the given key. | public Object | put(Object key, Object value) Sets a servlet 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 servlet context attribute.
Parameters: key - the attribute to remove. |
ApplicationMap | public ApplicationMap(ServletContext ctx)(Code) | | Creates a new map object given the servlet context.
Parameters: ctx - the servlet context |
clear | public void clear()(Code) | | Removes all entries from the Map and removes all attributes from the servlet context.
|
entrySet | public Set entrySet()(Code) | | Creates a Set of all servlet context attributes as well as context init parameters.
a Set of all servlet context attributes as well as context init parameters. |
get | public Object get(Object key)(Code) | | Returns the servlet 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 servlet context attribute or init parameter or null if the entry is not found. |
put | public Object put(Object key, Object value)(Code) | | Sets a servlet 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 servlet context attribute.
Parameters: key - the attribute to remove. the entry that was just removed. |
|
|
|