org.apache.cocoon.components
Class ContextHelper

java.lang.Object
  extended byorg.apache.cocoon.components.ContextHelper

Deprecated. Use the ProcessInfoProvider instead.

public final class ContextHelper
extends Object

A set of constants and methods to access the content of the context object. Some of the constants are defined in Constants.

Version:
$Id: ContextHelper.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
static String CONTEXT_OBJECT_MODEL
          Deprecated. Application Context Key for the current object model
static String CONTEXT_REQUEST_OBJECT
          Deprecated. Application Context Key for the current request object
static String CONTEXT_RESPONSE_OBJECT
          Deprecated. Application Context Key for the current response object
static String CONTEXT_SITEMAP_SERVICE_MANAGER
          Deprecated. Application Context Key for the current sitemap service manager
 
Method Summary
static Map getObjectModel(Context context)
          Deprecated. Return the current object model
static org.apache.cocoon.environment.Request getRequest(Context context)
          Deprecated. Return the current request
static org.apache.cocoon.environment.Response getResponse(Context context)
          Deprecated. Return the current response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_OBJECT_MODEL

public static final String CONTEXT_OBJECT_MODEL
Deprecated. 
Application Context Key for the current object model

See Also:
Constant Field Values

CONTEXT_REQUEST_OBJECT

public static final String CONTEXT_REQUEST_OBJECT
Deprecated. 
Application Context Key for the current request object

See Also:
Constant Field Values

CONTEXT_RESPONSE_OBJECT

public static final String CONTEXT_RESPONSE_OBJECT
Deprecated. 
Application Context Key for the current response object

See Also:
Constant Field Values

CONTEXT_SITEMAP_SERVICE_MANAGER

public static final String CONTEXT_SITEMAP_SERVICE_MANAGER
Deprecated. 
Application Context Key for the current sitemap service manager

See Also:
Constant Field Values
Method Detail

getRequest

public static final org.apache.cocoon.environment.Request getRequest(Context context)
Deprecated. 
Return the current request

Parameters:
context - The component context
Returns:
The request object

getResponse

public static final org.apache.cocoon.environment.Response getResponse(Context context)
Deprecated. 
Return the current response

Parameters:
context - The component context
Returns:
The response

getObjectModel

public static final Map getObjectModel(Context context)
Deprecated. 
Return the current object model

Parameters:
context - The component context
Returns:
The object model


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.