org.apache.cocoon.components.treeprocessor
Interface ProcessingNodeBuilder

All Known Subinterfaces:
LinkedProcessingNodeBuilder
All Known Implementing Classes:
AbstractProcessingNodeBuilder, ActNodeBuilder, AggregateNodeBuilder, CallNodeBuilder, GenerateNodeBuilder, RedirectToNodeBuilder, ScriptNodeBuilder, SerializeNodeBuilder, TransformNodeBuilder

public interface ProcessingNodeBuilder

A ProcessingNode builder.

Lifecycle information : a TreeBuilder can be recycled and used to build several Processors, each one defining a different ServiceManager.

Version:
CVS $Id: ProcessingNodeBuilder.java 55391 2004-10-23 18:15:02Z cziegeler $
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

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


buildNode

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.

Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.