KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > util > Backing


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10
11 package org.mmbase.bridge.jsp.taglib.util;
12
13 import javax.servlet.jsp.PageContext JavaDoc;
14 import java.util.*;
15 import org.mmbase.util.Casting;
16 import org.mmbase.util.transformers.CharTransformer;
17 import org.mmbase.bridge.jsp.taglib.ContextTag;
18 import org.mmbase.bridge.jsp.taglib.ContentTag;
19
20
21 /**
22  * Implementation of the 'backing' of a {@link ContextContainer}.
23  *
24  * @author Michiel Meeuwissen
25  * @since MMBase-1.8
26  * @version $Id: Backing.java,v 1.5.2.1 2006/11/21 20:39:56 michiel Exp $
27  */

28
29 public interface Backing extends Map {
30     /**
31      * Get the original value as stored in this Map, so without every wrapping which may have been
32      * done.
33      */

34     public Object JavaDoc getOriginal(Object JavaDoc key);
35     /**
36      * Whether this map contains the given key, but by its own, so not because of possible
37      * reflection of another structure (like the page context).
38      */

39     public boolean containsOwnKey(Object JavaDoc key);
40
41     /**
42      *
43      */

44     public void setJspVar(PageContext JavaDoc pc, String JavaDoc jspvar, int type, Object JavaDoc value);
45
46     /**
47      * When the container gets used in a different page-context (e.g. because it was stored in the
48      * request or in the session), the new one must be pushed. And pulled again when ready.
49      */

50     public void pushPageContext(PageContext JavaDoc pc);
51
52     /**
53      * @see #pushPageContext(PageContext)
54      */

55     public void pullPageContext(PageContext JavaDoc pc);
56
57     /**
58      * @since MMBase-1.8.3
59      */

60     public PageContext JavaDoc getPageContext();
61 }
Popular Tags