|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.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_ROOT_URL
Application root directory (as a URL object) @since 2.2 |
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 |
static ServiceManager |
getSitemapServiceManager(Context context)
Return the current sitemap service manager |
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
public static final String CONTEXT_ROOT_URL
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
public static final ServiceManager getSitemapServiceManager(Context context)
context
- The component context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |