org.mmbase.bridge.jsp.taglib.util
Class StandaloneContextContainer
java.lang.Object
java.util.AbstractMap<String,Object>
org.mmbase.bridge.jsp.taglib.util.ContextContainer
org.mmbase.bridge.jsp.taglib.util.StandaloneContextContainer
- All Implemented Interfaces:
- Map<String,Object>
- Direct Known Subclasses:
- ContextCollector
public class StandaloneContextContainer
- extends ContextContainer
This ContextContainer provides its own 'backing', it is used as 'subcontext' in other contextes.
- Since:
- MMBase-1.8
- Version:
- $Id: StandaloneContextContainer.java 39578 2009-11-09 09:57:03Z michiel $
- Author:
- Michiel Meeuwissen
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Fields inherited from class org.mmbase.bridge.jsp.taglib.util.ContextContainer |
LOCATION_APPLICATION, LOCATION_ATTRIBUTES, LOCATION_COOKIE, LOCATION_MULTIPART, LOCATION_MULTIPART_OPT, LOCATION_NOTSET, LOCATION_PAGE, LOCATION_PARAMETERS, LOCATION_PARENT, LOCATION_REQUEST, LOCATION_SESSION, LOCATION_THIS |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.util.ContextContainer |
clear, containsKey, containsKey, entrySet, find, find, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegisterString, findAndRegisterString, fixEncoding, fixEncoding, get, get, getDefaultCharacterEncoding, getId, getObject, getPageContext, getPair, isContextIdentifierChar, isPresent, isRegistered, locationToString, put, register, register, register, register, registerAll, registerNode, remove, reregister, setJspVar, stringToLocation, toString, unRegister, unRegister, unRegisterAll |
backing
protected final BasicBacking backing
- A simple map, which besides to itself also registers to page-context.
parent
protected ContextContainer parent
StandaloneContextContainer
public StandaloneContextContainer(PageContext pc,
String i,
ContextContainer p)
- Since a ContextContainer can contain other ContextContainer, it
has to know which ContextContainer contains this. And it also
has an id.
StandaloneContextContainer
public StandaloneContextContainer(String i,
Map<String,Object> values,
boolean ignoreEL)
- Since:
- MMBase-1.9
setParent
public void setParent(PageContext pc,
ContextContainer p)
- Overrides:
setParent in class ContextContainer
simpleContainsKey
protected boolean simpleContainsKey(String key,
boolean checkParent)
- Description copied from class:
ContextContainer
- Like containsKey but doesn't check for dots.
- Overrides:
simpleContainsKey in class ContextContainer
simpleGet
protected Object simpleGet(String key,
boolean checkParent)
- Like get, but does not try to search dots, because you know already that there aren't.
- Overrides:
simpleGet in class ContextContainer
keySet
protected Set<String> keySet(boolean checkParent)
- Overrides:
keySet in class ContextContainer
- Since:
- MMBase-1.7
getParent
public ContextContainer getParent()
- Specified by:
getParent in class ContextContainer
entrySet
public Set<Map.Entry<String,Object>> entrySet(boolean checkParent)
- Overrides:
entrySet in class ContextContainer
createBacking
protected BasicBacking createBacking(PageContext pc)
getBacking
public final BasicBacking getBacking()
- Description copied from class:
ContextContainer
- Returns the Map which will be used for actually storing stuff.
- Specified by:
getBacking in class ContextContainer
release
public void release(PageContext pc,
ContextContainer p)
- Overrides:
release in class ContextContainer
MMBase 2.0-SNAPSHOT - null