| org.apache.cocoon.components.treeprocessor.InvokeContext
InvokeContext | public class InvokeContext extends AbstractLogEnabled implements Recomposable,Disposable(Code) | | The invocation context of ProcessingNode s.
This class serves two purposes:
author: Sylvain Wallez author: Carsten Ziegeler author: Torsten Curdt version: $Id: InvokeContext.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | InvokeContext() Create an InvokeContext without existing pipelines. | public | InvokeContext(boolean isBuildingPipelineOnly) |
pipelineSelector | protected ComponentSelector pipelineSelector(Code) | | The Selector for the processing pipeline
|
processingPipelineName | protected String processingPipelineName(Code) | | The name of the processing pipeline component
|
processingPipelineObjectModel | protected Map processingPipelineObjectModel(Code) | | The object model used to resolve processingPipelineParameters
|
processingPipelineParameters | protected Map processingPipelineParameters(Code) | | The parameters for the processing pipeline
|
InvokeContext | public InvokeContext()(Code) | | Create an InvokeContext without existing pipelines. This also means
the current request is external.
|
InvokeContext | public InvokeContext(boolean isBuildingPipelineOnly)(Code) | | Create an InvokeContext
|
compose | public void compose(ComponentManager manager) throws ComponentException(Code) | | Composable Interface
|
dispose | public void dispose()(Code) | | Release the pipelines, if any, if they were looked up by this context.
|
dumpParameters | protected void dumpParameters()(Code) | | Dumps all sitemap parameters to log
|
getMapByAnchor | final public Map getMapByAnchor(String anchor)(Code) | | Get the result Map by anchor name
|
getMapStack | final public List getMapStack()(Code) | | Get the current Map stack used to resolve expressions.
|
getRedirector | public Redirector getRedirector()(Code) | | Get the redirector to be used by nodes that need it.
the redirector |
inform | public void inform(String pipelineName, Map parameters, Map objectModel)(Code) | | Informs the context about a new pipeline section
|
isBuildingPipelineOnly | final public boolean isBuildingPipelineOnly()(Code) | | Are we building a pipeline (and not executing it) ?
|
pipelineIsSet | public boolean pipelineIsSet()(Code) | | Determines if the Pipeline been set for this context
|
popMap | final public void popMap()(Code) | | Pop the topmost element of the current Map stack.
|
pushMap | final public void pushMap(String anchorName, Map map)(Code) | | Push a Map on top of the current Map stack.
|
recompose | public void recompose(ComponentManager manager) throws ComponentException(Code) | | Recomposable interface
|
setProcessingPipeline | public void setProcessingPipeline(ProcessingPipeline pipeline)(Code) | | Set the processing pipeline for sub-sitemaps
|
setRedirector | public void setRedirector(Redirector redirector)(Code) | | Set the redirector to be used by nodes that need it.
Parameters: redirector - the redirector |
|
|