| org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor
ConcreteTreeProcessor | public class ConcreteTreeProcessor extends AbstractLogEnabled implements Processor,Disposable(Code) | | The concrete implementation of
Processor , containing the evaluation tree and associated
data such as component manager.
version: $Id: ConcreteTreeProcessor.java 602257 2007-12-07 22:43:53Z anathaniel $ |
sitemapComponentManager | ComponentManager sitemapComponentManager(Code) | | Component manager defined by the <map:components> of this sitemap
|
ConcreteTreeProcessor | public ConcreteTreeProcessor(TreeProcessor wrappingProcessor)(Code) | | Builds a concrete processig, given the wrapping processor
|
dispose | public void dispose()(Code) | | |
getComponentConfigurations | public Map getComponentConfigurations()(Code) | | Get the sitemap component configurations
since: 2.1 |
markForDisposal | public void markForDisposal()(Code) | | Mark this processor as needing to be disposed. Actual call to
ConcreteTreeProcessor.dispose() will occur when
all request processings on this processor will be terminated.
|
process | public boolean process(Environment environment) throws Exception(Code) | | Process the given Environment producing the output.
If the processing is successfull true is returned.If not match is found in the sitemap false is returned. throws: org.apache.cocoon.ResourceNotFoundException - If a sitemap component triesto access a resource which can notbe found, e.g. the generatorConnectionResetException If the connection was reset |
process | protected boolean process(Environment environment, InvokeContext context) throws Exception(Code) | | Do the actual processing, be it producing the response or just building the pipeline
Parameters: environment - Parameters: context - true if the pipeline was successfully built, false otherwise. throws: Exception - |
setComponentConfigurations | public void setComponentConfigurations(Configuration componentConfigurations)(Code) | | Set the sitemap component configurations (called as part of the tree building process)
|
setProcessorData | public void setProcessorData(ComponentManager manager, ProcessingNode rootNode, List disposableNodes)(Code) | | Set the processor data, result of the treebuilder job
|
|
|