org.apache.cocoon.environment
Class ObjectModelHelper
java.lang.Object
|
+--org.apache.cocoon.environment.ObjectModelHelper
- public final class ObjectModelHelper
- extends java.lang.Object
A set of constants and methods to access the content of the object model.
The object model is a Map
used to pass information about the
calling environment to the sitemap and its components (matchers, actions,
transformers, etc).
This class provides accessors only for the objects in the object model that are
common to every environment and which can thus be used safely. Some environments
provide additional objects, but they are not described here and accessing them
should be done in due cause since this ties the application to that particular
environment.
- Version:
- CVS $Id: ObjectModelHelper.java,v 1.4 2002/02/22 07:03:49 cziegeler Exp $
- Author:
- Sylvain Wallez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_OBJECT
public static final java.lang.String REQUEST_OBJECT
- Key for the environment
Request
in the object model.
RESPONSE_OBJECT
public static final java.lang.String RESPONSE_OBJECT
- Key for the environment
Response
in the object model.
CONTEXT_OBJECT
public static final java.lang.String CONTEXT_OBJECT
- Key for the environment
Context
in the object model.
getRequest
public static final Request getRequest(java.util.Map objectModel)
getResponse
public static final Response getResponse(java.util.Map objectModel)
getContext
public static final Context getContext(java.util.Map objectModel)
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.