javax.servlet.jsp.el
Class ImplicitObjectELResolver.ImplicitObjects

java.lang.Object
  extended by javax.servlet.jsp.el.ImplicitObjectELResolver.ImplicitObjects
Enclosing class:
ImplicitObjectELResolver

private static class ImplicitObjectELResolver.ImplicitObjects
extends java.lang.Object

This class is used to generate the implicit Map and List objects that wrap various elements of the PageContext. It also returns the correct implicit object for a given implicit object name.

Author:
Nathan Abramson - Art Technology Group

Field Summary
(package private)  java.util.Map mApplication
           
(package private)  PageContext mContext
           
(package private)  java.util.Map mCookie
           
(package private)  java.util.Map mHeader
           
(package private)  java.util.Map mHeaders
           
(package private)  java.util.Map mInitParam
           
(package private)  java.util.Map mPage
           
(package private)  java.util.Map mParam
           
(package private)  java.util.Map mParams
           
(package private)  java.util.Map mRequest
           
(package private)  java.util.Map mSession
           
(package private) static java.lang.String sAttributeName
           
 
Constructor Summary
ImplicitObjectELResolver.ImplicitObjects(PageContext pContext)
          Constructor
 
Method Summary
static java.util.Map createApplicationScopeMap(PageContext pContext)
          Creates the Map that "wraps" application-scoped attributes
static java.util.Map createCookieMap(PageContext pContext)
          Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().
static java.util.Map createHeaderMap(PageContext pContext)
          Creates the Map that maps header name to single header value.
static java.util.Map createHeadersMap(PageContext pContext)
          Creates the Map that maps header name to an array of header values.
static java.util.Map createInitParamMap(PageContext pContext)
          Creates the Map that maps init parameter name to single init parameter value.
static java.util.Map createPageScopeMap(PageContext pContext)
          Creates the Map that "wraps" page-scoped attributes
static java.util.Map createParamMap(PageContext pContext)
          Creates the Map that maps parameter name to single parameter value.
static java.util.Map createParamsMap(PageContext pContext)
          Creates the Map that maps parameter name to an array of parameter values.
static java.util.Map createRequestScopeMap(PageContext pContext)
          Creates the Map that "wraps" request-scoped attributes
static java.util.Map createSessionScopeMap(PageContext pContext)
          Creates the Map that "wraps" session-scoped attributes
 java.util.Map getApplicationScopeMap()
          Returns the Map that "wraps" application-scoped attributes
 java.util.Map getCookieMap()
          Returns the Map that maps cookie name to the first matching Cookie in request.getCookies().
 java.util.Map getHeaderMap()
          Returns the Map that maps header name to a single header values.
 java.util.Map getHeadersMap()
          Returns the Map that maps header name to an array of header values.
static ImplicitObjectELResolver.ImplicitObjects getImplicitObjects(PageContext pContext)
          Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist.
 java.util.Map getInitParamMap()
          Returns the Map that maps init parameter name to a single init parameter values.
 java.util.Map getPageScopeMap()
          Returns the Map that "wraps" page-scoped attributes
 java.util.Map getParamMap()
          Returns the Map that maps parameter name to a single parameter values.
 java.util.Map getParamsMap()
          Returns the Map that maps parameter name to an array of parameter values.
 java.util.Map getRequestScopeMap()
          Returns the Map that "wraps" request-scoped attributes
 java.util.Map getSessionScopeMap()
          Returns the Map that "wraps" session-scoped attributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sAttributeName

static final java.lang.String sAttributeName
See Also:
Constant Field Values

mContext

PageContext mContext

mPage

java.util.Map mPage

mRequest

java.util.Map mRequest

mSession

java.util.Map mSession

mApplication

java.util.Map mApplication

mParam

java.util.Map mParam

mParams

java.util.Map mParams

mHeader

java.util.Map mHeader

mHeaders

java.util.Map mHeaders

mInitParam

java.util.Map mInitParam

mCookie

java.util.Map mCookie
Constructor Detail

ImplicitObjectELResolver.ImplicitObjects

public ImplicitObjectELResolver.ImplicitObjects(PageContext pContext)
Constructor

Method Detail

getImplicitObjects

public static ImplicitObjectELResolver.ImplicitObjects getImplicitObjects(PageContext pContext)
Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist.


getPageScopeMap

public java.util.Map getPageScopeMap()
Returns the Map that "wraps" page-scoped attributes


getRequestScopeMap

public java.util.Map getRequestScopeMap()
Returns the Map that "wraps" request-scoped attributes


getSessionScopeMap

public java.util.Map getSessionScopeMap()
Returns the Map that "wraps" session-scoped attributes


getApplicationScopeMap

public java.util.Map getApplicationScopeMap()
Returns the Map that "wraps" application-scoped attributes


getParamMap

public java.util.Map getParamMap()
Returns the Map that maps parameter name to a single parameter values.


getParamsMap

public java.util.Map getParamsMap()
Returns the Map that maps parameter name to an array of parameter values.


getHeaderMap

public java.util.Map getHeaderMap()
Returns the Map that maps header name to a single header values.


getHeadersMap

public java.util.Map getHeadersMap()
Returns the Map that maps header name to an array of header values.


getInitParamMap

public java.util.Map getInitParamMap()
Returns the Map that maps init parameter name to a single init parameter values.


getCookieMap

public java.util.Map getCookieMap()
Returns the Map that maps cookie name to the first matching Cookie in request.getCookies().


createPageScopeMap

public static java.util.Map createPageScopeMap(PageContext pContext)
Creates the Map that "wraps" page-scoped attributes


createRequestScopeMap

public static java.util.Map createRequestScopeMap(PageContext pContext)
Creates the Map that "wraps" request-scoped attributes


createSessionScopeMap

public static java.util.Map createSessionScopeMap(PageContext pContext)
Creates the Map that "wraps" session-scoped attributes


createApplicationScopeMap

public static java.util.Map createApplicationScopeMap(PageContext pContext)
Creates the Map that "wraps" application-scoped attributes


createParamMap

public static java.util.Map createParamMap(PageContext pContext)
Creates the Map that maps parameter name to single parameter value.


createParamsMap

public static java.util.Map createParamsMap(PageContext pContext)
Creates the Map that maps parameter name to an array of parameter values.


createHeaderMap

public static java.util.Map createHeaderMap(PageContext pContext)
Creates the Map that maps header name to single header value.


createHeadersMap

public static java.util.Map createHeadersMap(PageContext pContext)
Creates the Map that maps header name to an array of header values.


createInitParamMap

public static java.util.Map createInitParamMap(PageContext pContext)
Creates the Map that maps init parameter name to single init parameter value.


createCookieMap

public static java.util.Map createCookieMap(PageContext pContext)
Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().



Portions Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved. Portions Copyright © 2005 Sun Microsystems Inc. All Rights Reserved