org.radeox.engine.context
Class BaseRenderContext
java.lang.Object
org.radeox.engine.context.BaseRenderContext
- All Implemented Interfaces:
- RenderContext
- Direct Known Subclasses:
- BaseInitialRenderContext
public class BaseRenderContext
- extends java.lang.Object
- implements RenderContext
Base impementation for RenderContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseRenderContext
public BaseRenderContext()
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get in interface RenderContext
set
public void set(java.lang.String key,
java.lang.Object value)
- Specified by:
set in interface RenderContext
getParameters
public java.util.Map getParameters()
- Specified by:
getParameters in interface RenderContext
setParameters
public void setParameters(java.util.Map parameters)
- Description copied from interface:
RenderContext
- Set the parameters for this execution context. These
parameters are read when encountering a variable in
macros like {search:$query} or by ParamFilter in {$query}.
Query is then read from
the parameter map before given to the macro
- Specified by:
setParameters in interface RenderContext
- Parameters:
parameters - Map of parameters with name,value pairs
getRenderEngine
public RenderEngine getRenderEngine()
- Description copied from interface:
RenderContext
- Returns the RenderEngine handling this request.
- Specified by:
getRenderEngine in interface RenderContext
- Returns:
- engine RenderEngine handling the request within this context
setRenderEngine
public void setRenderEngine(RenderEngine engine)
- Description copied from interface:
RenderContext
- Stores the current RenderEngine of the request
- Specified by:
setRenderEngine in interface RenderContext
- Parameters:
engine - Current RenderEnginge
setCacheable
public void setCacheable(boolean cacheable)
- Specified by:
setCacheable in interface RenderContext
commitCache
public void commitCache()
- Specified by:
commitCache in interface RenderContext
isCacheable
public boolean isCacheable()
- Specified by:
isCacheable in interface RenderContext