Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » treeprocessor » [javadoc | source]
org.apache.cocoon.components.treeprocessor
public interface: ProcessingNodeBuilder [javadoc | source]

All Implemented Interfaces:
    org.apache.avalon.framework.component.Component

All Known Implementing Classes:
    NamedContainerNodeBuilder, AbstractProcessingNodeBuilder, ContainerNodeBuilder, MatchNodeBuilder, CallNodeBuilder, FlowNodeBuilder, SitemapNodeBuilder, ActionSetNodeBuilder, AbstractParentProcessingNodeBuilder, HandleErrorsNodeBuilder, CallNodeBuilder2, GenerateNodeBuilder, MountNodeBuilder, AggregateNodeBuilder, ContinueNodeBuilder, NullNodeBuilder, ScriptNodeBuilder, ViewNodeBuilder, SelectNodeBuilder, LinkedProcessingNodeBuilder, RedirectToNodeBuilder, CategoryNodeBuilder, PipelineNodeBuilder, ActNodeBuilder, PipelinesNodeBuilder, TransformNodeBuilder, SerializeNodeBuilder, ComponentsNodeBuilder, ReadNodeBuilder

A ProcessingNode builder.

Lifecycle information : a TreeBuilder can be recycled and used to build several Processors, each one defining a different ComponentManager. As a consequence, a ProcessingNodeBuilder that needs access to the ComponentManager of the Processor being built must be not only Composable but also Recomposable.

Note however that being Recomposable doesn't forbid to be ThreadSafe since a ProcessingNodeBuilder is used by only one TreeBuilder at a time.

Method from org.apache.cocoon.components.treeprocessor.ProcessingNodeBuilder Summary:
buildNode,   setBuilder
Method from org.apache.cocoon.components.treeprocessor.ProcessingNodeBuilder Detail:
 public ProcessingNode buildNode(Configuration config) throws Exception
    Build the ProcessingNode and its children from the given Configuration, and optionnaly register it in the tree builder for lookup by other LinkedProcessingNodeBuilders.
 public  void setBuilder(TreeBuilder builder)
    Set the builder for which we are building.