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

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by org.mmbase.bridge.jsp.taglib.util.ContextContainer
          extended by org.mmbase.bridge.jsp.taglib.util.PageContextContainer
All Implemented Interfaces:
Map<String,Object>

public class PageContextContainer
extends ContextContainer

The page context container stores variables directly in the page context, like JSTL does.

Since:
MMBase-1.8
Version:
$Id: PageContextContainer.java 39537 2009-11-04 15:23:01Z michiel $
Author:
Michiel Meeuwissen

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
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
 
Constructor Summary
PageContextContainer(PageContext pc)
          Since a ContextContainer can contain other ContextContainer, it has to know which ContextContainer contains this.
 
Method Summary
 PageContextBacking getBacking()
          Returns the Map which will be used for actually storing stuff.
 ContextContainer getParent()
           
 void release(PageContext pc, ContextContainer p)
           
 void setParent(PageContext pc, ContextContainer p)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.util.ContextContainer
clear, containsKey, containsKey, entrySet, entrySet, find, find, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegister, findAndRegisterString, findAndRegisterString, fixEncoding, fixEncoding, get, get, getDefaultCharacterEncoding, getId, getObject, getPageContext, getPair, isContextIdentifierChar, isPresent, isRegistered, keySet, locationToString, put, register, register, register, register, registerAll, registerNode, remove, reregister, setJspVar, simpleContainsKey, simpleGet, stringToLocation, toString, unRegister, unRegister, unRegisterAll
 
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsValue, equals, hashCode, isEmpty, keySet, putAll, size, values
 

Constructor Detail

PageContextContainer

public PageContextContainer(PageContext pc)
Since a ContextContainer can contain other ContextContainer, it has to know which ContextContainer contains this. And it also has an id.

Method Detail

release

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

getBacking

public PageContextBacking getBacking()
Description copied from class: ContextContainer
Returns the Map which will be used for actually storing stuff.

Specified by:
getBacking in class ContextContainer

setParent

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

getParent

public ContextContainer getParent()
Specified by:
getParent in class ContextContainer


MMBase 2.0-SNAPSHOT - null