JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final

org.apache.taglibs.standard.lang.jstl
Class ImplicitObjects

java.lang.Object
  extended by org.apache.taglibs.standard.lang.jstl.ImplicitObjects

public class ImplicitObjects
extends 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.

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
Author:
Nathan Abramson - Art Technology Group

Constructor Summary
ImplicitObjects(javax.servlet.jsp.PageContext pContext)
          Constructor
 
Method Summary
static Map createApplicationScopeMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that "wraps" application-scoped attributes
static Map createCookieMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().
static Map createHeaderMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps header name to single header value.
static Map createHeadersMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps header name to an array of header values.
static Map createInitParamMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps init parameter name to single init parameter value.
static Map createPageScopeMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that "wraps" page-scoped attributes
static Map createParamMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps parameter name to single parameter value.
static Map createParamsMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that maps parameter name to an array of parameter values.
static Map createRequestScopeMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that "wraps" request-scoped attributes
static Map createSessionScopeMap(javax.servlet.jsp.PageContext pContext)
          Creates the Map that "wraps" session-scoped attributes
 Map getApplicationScopeMap()
          Returns the Map that "wraps" application-scoped attributes
 Map getCookieMap()
          Returns the Map that maps cookie name to the first matching Cookie in request.getCookies().
 Map getHeaderMap()
          Returns the Map that maps header name to a single header values.
 Map getHeadersMap()
          Returns the Map that maps header name to an array of header values.
static ImplicitObjects getImplicitObjects(javax.servlet.jsp.PageContext pContext)
          Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist.
 Map getInitParamMap()
          Returns the Map that maps init parameter name to a single init parameter values.
 Map getPageScopeMap()
          Returns the Map that "wraps" page-scoped attributes
 Map getParamMap()
          Returns the Map that maps parameter name to a single parameter values.
 Map getParamsMap()
          Returns the Map that maps parameter name to an array of parameter values.
 Map getRequestScopeMap()
          Returns the Map that "wraps" request-scoped attributes
 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
 

Constructor Detail

ImplicitObjects

public ImplicitObjects(javax.servlet.jsp.PageContext pContext)
Constructor

Method Detail

getImplicitObjects

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


getPageScopeMap

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


getRequestScopeMap

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


getSessionScopeMap

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


getApplicationScopeMap

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


getParamMap

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


getParamsMap

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


getHeaderMap

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


getHeadersMap

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


getInitParamMap

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


getCookieMap

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


createPageScopeMap

public static Map createPageScopeMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that "wraps" page-scoped attributes


createRequestScopeMap

public static Map createRequestScopeMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that "wraps" request-scoped attributes


createSessionScopeMap

public static Map createSessionScopeMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that "wraps" session-scoped attributes


createApplicationScopeMap

public static Map createApplicationScopeMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that "wraps" application-scoped attributes


createParamMap

public static Map createParamMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that maps parameter name to single parameter value.


createParamsMap

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


createHeaderMap

public static Map createHeaderMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that maps header name to single header value.


createHeadersMap

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


createInitParamMap

public static Map createInitParamMap(javax.servlet.jsp.PageContext pContext)
Creates the Map that maps init parameter name to single init parameter value.


createCookieMap

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


JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.