org.mmbase.bridge.jsp.taglib.util
Class CollectorBacking
java.lang.Object
java.util.AbstractMap<String,Object>
org.mmbase.bridge.jsp.taglib.util.BasicBacking
org.mmbase.bridge.jsp.taglib.util.CollectorBacking
- All Implemented Interfaces:
- Map<String,Object>, Backing
public class CollectorBacking
- extends BasicBacking
A basic implementation for the backing of a ContextContainter. It uses a HashMap, but is also
writes every entry to the temporary to the page-context, to make them available to JSP2's
expression language, unless the 'ELIgnored' parameter of the MMBase taglib is true, or no
pageContext is given in the constructor.
- Since:
- MMBase-1.9.2
- Version:
- $Id: BasicBacking.java 39537 2009-11-04 15:23:01Z michiel $
- Author:
- Michiel Meeuwissen
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.util.BasicBacking |
clear, containsKey, containsOwnKey, entrySet, get, getOriginal, getOriginalMap, getPageContext, isELIgnored, mirrorPut, mirrorPut, pullPageContext, pushPageContext, put, release, remove, toString |
myKeys
protected final Set<String> myKeys
parent
final ContextContainer parent
CollectorBacking
public CollectorBacking(PageContext pc,
ContextContainer parent)
- Parameters:
pc - The page-context to which variables must be reflected or null if this must not happen.
put
public Object put(String key,
Object value,
boolean reset)
throws JspTagException
- Overrides:
put in class BasicBacking
- Throws:
JspTagException
setJspVar
public void setJspVar(PageContext pc,
String jspvar,
int vartype,
Object value)
- Specified by:
setJspVar in interface Backing- Overrides:
setJspVar in class BasicBacking
MMBase 2.0-SNAPSHOT - null