|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.lenya.cms.cocoon.components.context.ContextUtility
public class ContextUtility
Utility class for getting the context, request, response and object model of the current request.
Field Summary | |
---|---|
protected org.apache.avalon.framework.context.Context |
context
|
static java.lang.String |
ROLE
The component's role. |
Constructor Summary | |
---|---|
ContextUtility()
|
Method Summary | |
---|---|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
org.apache.avalon.framework.context.Context |
getContext()
Get the context object of the current request. |
java.util.Map |
getObjectModel()
Get the object model of the current request. |
org.apache.cocoon.environment.Request |
getRequest()
Get the request object of the current request. |
org.apache.cocoon.environment.Response |
getResponse()
Get the response object of the current request. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ROLE
protected org.apache.avalon.framework.context.Context context
Constructor Detail |
---|
public ContextUtility()
Method Detail |
---|
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
org.apache.avalon.framework.context.ContextException
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
public org.apache.avalon.framework.context.Context getContext()
public org.apache.cocoon.environment.Request getRequest()
public org.apache.cocoon.environment.Response getResponse()
public java.util.Map getObjectModel()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |