org.apache.cocoon.components.treeprocessor
Class NamedContainerNodeBuilder

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
              |
              +--org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
                    |
                    +--org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder
                          |
                          +--org.apache.cocoon.components.treeprocessor.NamedContainerNodeBuilder
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, ProcessingNodeBuilder, org.apache.avalon.framework.component.Recomposable, org.apache.avalon.framework.thread.ThreadSafe
Direct Known Subclasses:
ViewNodeBuilder

public class NamedContainerNodeBuilder
extends ContainerNodeBuilder
implements org.apache.avalon.framework.configuration.Configurable

Builds a generic named container node.

Version:
CVS $Id: NamedContainerNodeBuilder.java,v 1.2 2002/03/13 17:39:57 ovidiu Exp $
Author:
Sylvain Wallez

Field Summary
protected  java.lang.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(org.apache.avalon.framework.configuration.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(org.apache.avalon.framework.configuration.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, compose, getParameters, recompose, setBuilder
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameAttr

protected java.lang.String nameAttr
Constructor Detail

NamedContainerNodeBuilder

public NamedContainerNodeBuilder()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Description copied from class: AbstractParentProcessingNodeBuilder
Configure the sets of allowed, forbidden and ignored children nodes.
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Overrides:
configure in class AbstractParentProcessingNodeBuilder

buildNode

public ProcessingNode buildNode(org.apache.avalon.framework.configuration.Configuration config)
                         throws java.lang.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.
Overrides:
buildNode in class ContainerNodeBuilder


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.