org.apache.cocoon.components.treeprocessor
Class AbstractProcessingNodeBuilder
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.Loggable, ProcessingNodeBuilder
- Direct Known Subclasses:
- AbstractParentProcessingNodeBuilder, ActionSetNodeBuilder, AggregateNodeBuilder, CallNodeBuilder, ComponentsNodeBuilder, GenerateNodeBuilder, MountNodeBuilder, NullNodeBuilder, ReadNodeBuilder, RedirectToNodeBuilder, SerializeNodeBuilder, TransformNodeBuilder
- public abstract class AbstractProcessingNodeBuilder
- extends org.apache.avalon.framework.logger.AbstractLoggable
- implements ProcessingNodeBuilder
- Version:
- CVS $Id: AbstractProcessingNodeBuilder.java,v 1.2 2002/03/17 21:55:22 sylvain Exp $
- Author:
- Sylvain Wallez
Method Summary |
protected void |
checkNamespace(org.apache.avalon.framework.configuration.Configuration config)
Check if the namespace URI of the given configuraition is the same as the
one given by the builder. |
protected java.util.Map |
getParameters(org.apache.avalon.framework.configuration.Configuration config)
Get <xxx:parameter> elements as a Map of ListOfMapResolvers,
that can be turned into parameters using ListOfMapResolver.buildParameters() . |
protected boolean |
hasParameters()
Does this node accept parameters ? |
void |
setBuilder(TreeBuilder treeBuilder)
Set the builder for which we are building. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
treeBuilder
protected TreeBuilder treeBuilder
AbstractProcessingNodeBuilder
public AbstractProcessingNodeBuilder()
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
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.
getParameters
protected java.util.Map getParameters(org.apache.avalon.framework.configuration.Configuration config)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Get <xxx:parameter> elements as a
Map
of ListOfMapResolvers,
that can be turned into parameters using ListOfMapResolver.buildParameters()
.
- Returns:
- the Map of ListOfMapResolver, or
null
if there are no parameters.
checkNamespace
protected void checkNamespace(org.apache.avalon.framework.configuration.Configuration config)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Check if the namespace URI of the given configuraition is the same as the
one given by the builder.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.