org.mmbase.bridge.jsp.taglib.util
Class PageContextBacking
java.lang.Object
java.util.AbstractMap
org.mmbase.bridge.jsp.taglib.util.PageContextBacking
- All Implemented Interfaces:
- Backing, Map
- public class PageContextBacking
- extends AbstractMap
- implements Backing
A basic implementation for the backing, using the PageContext itself. It can also store nulls, in
contradiction to PageContext.
- Since:
- MMBase-1.8
- Version:
- $Id: PageContextBacking.java,v 1.11 2006/07/08 13:03:12 michiel Exp $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, values |
PageContextBacking
public PageContextBacking(PageContext pc)
pushPageContext
public void pushPageContext(PageContext pc)
- Description copied from interface:
Backing
- When the container gets used in a different page-context (e.g. because it was stored in the
request or in the session), the new one must be pushed. And pulled again when ready.
- Specified by:
pushPageContext in interface Backing
pullPageContext
public void pullPageContext(PageContext pc)
- Specified by:
pullPageContext in interface Backing
- See Also:
Backing.pushPageContext(PageContext)
setJspVar
public void setJspVar(PageContext pc,
String jspvar,
int vartype,
Object value)
- Specified by:
setJspVar in interface Backing
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put in interface Map
get
public Object get(Object key)
- Specified by:
get in interface Map
getOriginal
public Object getOriginal(Object key)
- Description copied from interface:
Backing
- Get the original value as stored in this Map, so without every wrapping which may have been
done.
- Specified by:
getOriginal in interface Backing
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map
containsOwnKey
public boolean containsOwnKey(Object key)
- Description copied from interface:
Backing
- Whether this map contains the given key, but by its own, so not because of possible
reflection of another structure (like the page context).
- Specified by:
containsOwnKey in interface Backing
toString
public String toString()
MMBase build 1.8.1.20060716