org.apache.cocoon.components.treeprocessor
Class NamedContainerNodeBuilder

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
                  extended byorg.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder
All Implemented Interfaces:
Configurable, ProcessingNodeBuilder, ThreadSafe
Direct Known Subclasses:
ViewNodeBuilder

public class NamedContainerNodeBuilder
extends ContainerNodeBuilder

Builds a generic named container node.

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

Field Summary
protected  String nameAttr
           
 
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
NamedContainerNodeBuilder()
           
 
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 configure(Configuration config)
          Configure the sets of allowed, forbidden and ignored children nodes.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder
hasParameters, setupNode
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
buildChildNodes, buildChildNodesList, 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
 

Field Detail

nameAttr

protected String nameAttr
Constructor Detail

NamedContainerNodeBuilder

public NamedContainerNodeBuilder()
Method Detail

configure

public void configure(Configuration config)
               throws ConfigurationException
Description copied from class: AbstractParentProcessingNodeBuilder
Configure the sets of allowed, forbidden and ignored children nodes.

Specified by:
configure in interface Configurable
Overrides:
configure in class AbstractParentProcessingNodeBuilder
Throws:
ConfigurationException

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
Overrides:
buildNode in class ContainerNodeBuilder
Throws:
Exception


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