|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.ContextHelper
public final class ContextHelper
A set of constants and methods to access the content of the context
object. Some of the constants are defined in Constants
.
Field Summary | |
---|---|
static String |
CONTEXT_OBJECT_MODEL
Application Context Key for the current object model |
static String |
CONTEXT_REQUEST_OBJECT
Application Context Key for the current request object |
static String |
CONTEXT_RESPONSE_OBJECT
Application Context Key for the current response object |
static String |
CONTEXT_SITEMAP_SERVICE_MANAGER
Application Context Key for the current sitemap service manager |
Method Summary | |
---|---|
static Map |
getObjectModel(Context context)
Return the current object model |
static Request |
getRequest(Context context)
Return the current request |
static Response |
getResponse(Context context)
Return the current response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONTEXT_OBJECT_MODEL
Context
Key for the current object model
public static final String CONTEXT_REQUEST_OBJECT
Context
Key for the current request object
public static final String CONTEXT_RESPONSE_OBJECT
Context
Key for the current response object
public static final String CONTEXT_SITEMAP_SERVICE_MANAGER
Context
Key for the current sitemap service manager
Method Detail |
---|
public static final Request getRequest(Context context)
context
- The component context
public static final Response getResponse(Context context)
context
- The component context
public static final Map getObjectModel(Context context)
context
- The component context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |