org.apache.cocoon.components.treeprocessor
Interface ProcessingNodeBuilder

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

public interface ProcessingNodeBuilder
extends Component

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.

Version:
CVS $Id: ProcessingNodeBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Method Summary
 ProcessingNode buildNode(Configuration config)
          Build the ProcessingNode and its children from the given Configuration, and optionnaly register it in the tree builder for lookup by other LinkedProcessingNodeBuilders.
 void setBuilder(TreeBuilder builder)
          Set the builder for which we are building.
 

Method Detail

setBuilder

void setBuilder(TreeBuilder builder)
Set the builder for which we are building.


buildNode

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.

Throws:
Exception


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.