Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » treeprocessor » [javadoc | source]
org.apache.cocoon.components.treeprocessor
public class: ConcreteTreeProcessor [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, Processor

The concrete implementation of Processor , containing the evaluation tree and associated data such as component manager.
Field Summary
 ComponentManager sitemapComponentManager    Component manager defined by the <map:components> of this sitemap 
Constructor:
 public ConcreteTreeProcessor(TreeProcessor wrappingProcessor) 
    Builds a concrete processig, given the wrapping processor
Method from org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor Summary:
buildPipeline,   dispose,   getComponentConfigurations,   getRootProcessor,   getWrappingProcessor,   markForDisposal,   process,   process,   setComponentConfigurations,   setProcessorData,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor Detail:
 public ProcessingPipeline buildPipeline(Environment environment) throws Exception 
    Process the given Environment to assemble a ProcessingPipeline.
 public  void dispose() 
 public Map getComponentConfigurations() 
    Get the sitemap component configurations
 public Processor getRootProcessor() 
 public TreeProcessor getWrappingProcessor() 
 public  void markForDisposal() 
    Mark this processor as needing to be disposed. Actual call to #dispose() will occur when all request processings on this processor will be terminated.
 public boolean process(Environment environment) throws Exception 
    Process the given Environment producing the output.
 protected boolean process(Environment environment,
    InvokeContext context) throws Exception 
    Do the actual processing, be it producing the response or just building the pipeline
 public  void setComponentConfigurations(Configuration componentConfigurations) 
    Set the sitemap component configurations (called as part of the tree building process)
 public  void setProcessorData(ComponentManager manager,
    ProcessingNode rootNode,
    List disposableNodes) 
    Set the processor data, result of the treebuilder job
 public String toString()