org.apache.cocoon.components.treeprocessor
Class AbstractProcessingNodeBuilder

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
All Implemented Interfaces:
ProcessingNodeBuilder
Direct Known Subclasses:
AbstractParentProcessingNodeBuilder, AggregateNodeBuilder, CallNodeBuilder, ComponentsNodeBuilder, GenerateNodeBuilder, MountNodeBuilder, NullNodeBuilder, ReadNodeBuilder, RedirectToNodeBuilder, ScriptNodeBuilder, SerializeNodeBuilder, TransformNodeBuilder

public abstract class AbstractProcessingNodeBuilder
extends org.apache.cocoon.util.AbstractLogEnabled
implements ProcessingNodeBuilder

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

Field Summary
protected  ServiceManager manager
           
protected  TreeBuilder treeBuilder
           
 
Constructor Summary
AbstractProcessingNodeBuilder()
           
 
Method Summary
protected  void checkNamespace(Configuration config)
          Check if the namespace URI of the given configuraition is the same as the one given by the builder.
protected  boolean hasParameters()
          Does this node accept parameters ? Default is true : if a builder that doesn't have parameters doesn't override this method, erroneous parameters will be silently ignored.
 void setBuilder(TreeBuilder treeBuilder)
          Set the builder for which we are building.
 
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
 
Methods inherited from interface org.apache.cocoon.components.treeprocessor.ProcessingNodeBuilder
buildNode
 

Field Detail

treeBuilder

protected TreeBuilder treeBuilder

manager

protected ServiceManager manager
Constructor Detail

AbstractProcessingNodeBuilder

public AbstractProcessingNodeBuilder()
Method Detail

setBuilder

public void setBuilder(TreeBuilder treeBuilder)
Description copied from interface: ProcessingNodeBuilder
Set the builder for which we are building.

Specified by:
setBuilder in interface ProcessingNodeBuilder
See Also:
ProcessingNodeBuilder.setBuilder(TreeBuilder)

hasParameters

protected boolean hasParameters()
Does this node accept parameters ? Default is true : if a builder that doesn't have parameters doesn't override this method, erroneous parameters will be silently ignored.


checkNamespace

protected void checkNamespace(Configuration config)
                       throws ConfigurationException
Check if the namespace URI of the given configuraition is the same as the one given by the builder.

Throws:
ConfigurationException


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