org.apache.cocoon.components.treeprocessor
Class ContainerNodeBuilder

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
              extended byorg.apache.cocoon.components.treeprocessor.ContainerNodeBuilder
All Implemented Interfaces:
Configurable, ProcessingNodeBuilder, ThreadSafe
Direct Known Subclasses:
NamedContainerNodeBuilder, PipelinesNodeBuilder

public class ContainerNodeBuilder
extends AbstractParentProcessingNodeBuilder
implements ThreadSafe

Builds a generic container node.

Version:
$Id: ContainerNodeBuilder.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
allowedChildren, forbiddenChildren, ignoredChildren
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
manager, treeBuilder
 
Constructor Summary
ContainerNodeBuilder()
           
 
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.
protected  boolean hasParameters()
          This builder has no parameters -- return false
protected  void setupNode(ContainerNode node, Configuration config)
           
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
buildChildNodes, buildChildNodesList, configure, isChild, isParameter, toNodeArray
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
checkNamespace, setBuilder
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerNodeBuilder

public ContainerNodeBuilder()
Method Detail

hasParameters

protected boolean hasParameters()
This builder has no parameters -- return false

Overrides:
hasParameters in class AbstractProcessingNodeBuilder

buildNode

public ProcessingNode buildNode(Configuration config)
                         throws Exception
Description copied from interface: ProcessingNodeBuilder
Build the ProcessingNode and its children from the given Configuration, and optionnaly register it in the tree builder for lookup by other LinkedProcessingNodeBuilders.

Specified by:
buildNode in interface ProcessingNodeBuilder
Throws:
Exception

setupNode

protected void setupNode(ContainerNode node,
                         Configuration config)
                  throws Exception
Throws:
Exception


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.