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

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.excalibur.component.RoleManageable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.component.Composable, Processor

Direct Known Subclasses:
    TreeProcessor

Interpreted tree-traversal implementation of a pipeline assembly language.
Field Summary
public static final  String COCOON_REDIRECT_ATTR     
protected  TreeProcessor parent    The parent TreeProcessor, if any 
protected  Context context    The context 
protected  ComponentManager manager    The component manager 
protected  RoleManager roleManager    The role manager 
protected  ExtendedComponentSelector builderSelector    Selector of TreeBuilders, the hint is the language name 
protected  long lastModified    Last modification time 
protected  DelayedRefreshSourceWrapper source    The source of the tree definition 
protected  long lastModifiedDelay    Delay for sourceLastModified
protected  Configuration currentLanguage    The current language configuration 
protected  boolean checkReload    Check for reload? 
protected  SourceResolver resolver    The source resolver 
 ConcreteTreeProcessor concreteProcessor    The actual processor (package-private as needs to be accessed by ConcreteTreeProcessor) 
Constructor:
 public TreeProcessor() 
 protected TreeProcessor(TreeProcessor parent,
    ComponentManager manager) 
    Create a child processor for a given language
Method from org.apache.cocoon.components.treeprocessor.TreeProcessor Summary:
buildPipeline,   compose,   configure,   contextualize,   createChildProcessor,   dispose,   getComponentConfigurations,   getRootProcessor,   process,   setComponentConfigurations,   setRoleManager,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.treeprocessor.TreeProcessor Detail:
 public ProcessingPipeline buildPipeline(Environment environment) throws Exception 
    Process the given Environment to assemble a ProcessingPipeline.
 public  void compose(ComponentManager manager) throws ComponentException 
 public  void configure(Configuration config) throws ConfigurationException 
 public  void contextualize(Context context) throws ContextException 
 public TreeProcessor createChildProcessor(ComponentManager manager,
    String actualSource,
    boolean checkReload) throws Exception 
    Create a new child of this processor (used for mounting submaps).
 public  void dispose() 
 public Map getComponentConfigurations() 
 public Processor getRootProcessor() 
 public boolean process(Environment environment) throws Exception 
    Process the given Environment producing the output.
 public  void setComponentConfigurations(Configuration componentConfigurations) 
    Set the sitemap component configurations
 public  void setRoleManager(RoleManager rm) 
 public String toString()