org.mmbase.bridge.jsp.taglib.util
Class StandaloneContextContainer

java.lang.Object
  extended byjava.util.AbstractMap
      extended byorg.mmbase.bridge.jsp.taglib.util.ContextContainer
          extended byorg.mmbase.bridge.jsp.taglib.util.StandaloneContextContainer
All Implemented Interfaces:
Map
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,v 1.11 2005/06/22 19:24:40 michiel Exp $
Author:
Michiel Meeuwissen

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Field Summary
protected  BasicBacking backing
          A simple map, which besides to itself also registers to page-context.
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.util.ContextContainer
LOCATION_APPLICATION, LOCATION_ATTRIBUTES, LOCATION_COOKIE, LOCATION_MULTIPART, LOCATION_NOTSET, LOCATION_PAGE, LOCATION_PARAMETERS, LOCATION_PARENT, LOCATION_REQUEST, LOCATION_SESSION, LOCATION_THIS, parent
 
Constructor Summary
StandaloneContextContainer(PageContext pc, String i, ContextContainer p)
          Since a ContextContainer can contain other ContextContainer, it has to know which ContextContainer contains this.
 
Method Summary
protected  boolean checkJspVar(String jspvar, String id)
           
protected  Backing getBacking()
          Returns the Map which will is used for actually storing stuff.
 void release(PageContext pc, ContextContainer p)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.util.ContextContainer
containsKey, containsKey, containsKey, entrySet, find, find, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegisterString, findAndRegisterString, fixEncoding, fixEncoding, get, get, get, getId, getObject, getPair, getParent, isPresent, isRegistered, keySet, locationToString, put, put, register, register, register, register, registerNode, reregister, setJspVar, setParent, simpleGet, stringToLocation, toString, unRegister, unRegister
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsValue, equals, hashCode, isEmpty, putAll, remove, size, values
 

Field Detail

backing

protected BasicBacking backing
A simple map, which besides to itself also registers to page-context.

Constructor Detail

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.

Method Detail

getBacking

protected Backing getBacking()
Description copied from class: ContextContainer
Returns the Map which will is used for actually storing stuff.

Specified by:
getBacking in class ContextContainer

release

public void release(PageContext pc,
                    ContextContainer p)
Overrides:
release in class ContextContainer

checkJspVar

protected boolean checkJspVar(String jspvar,
                              String id)


MMBase build 1.8.1.20060716