org.apache.cocoon.components.treeprocessor.sitemap
Class PipelineNode
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
- All Implemented Interfaces:
- Composable, LogEnabled, ThreadSafe, ParameterizableProcessingNode, ProcessingNode, Locatable
public class PipelineNode
- extends AbstractParentProcessingNode
- implements Composable, ParameterizableProcessingNode
Handles <map:pipeline>
- Version:
- $Id: PipelineNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Jürgen Seitz, Björn Lütkemeier, Sylvain Wallez, Gianugo Rabellino, Carsten Ziegeler
Constructor Summary |
PipelineNode(String name)
A constructor to receive the optional expires parameter
and optional parameters for the processing pipeline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processingPipeline
protected String processingPipeline
- The component name of the processing pipeline
parameters
protected Map parameters
- Optional sitemap parameters
PipelineNode
public PipelineNode(String name)
- A constructor to receive the optional expires parameter
and optional parameters for the processing pipeline
compose
public void compose(ComponentManager manager)
- The component manager is used to create error pipelines
- Specified by:
compose
in interface Composable
enableLogging
public void enableLogging(Logger logger)
- Specified by:
enableLogging
in interface LogEnabled
- Overrides:
enableLogging
in class AbstractLogEnabled
setChildren
public void setChildren(ProcessingNode[] nodes)
setParameters
public void setParameters(Map parameterMap)
- Description copied from interface:
ParameterizableProcessingNode
- Set the parameters of this node as a
Map
of VariableResolver
s
that will be resolved at process-time.
- Specified by:
setParameters
in interface ParameterizableProcessingNode
setLast
public void setLast(boolean isLast)
set404Handler
public void set404Handler(ProcessingNode node)
set500Handler
public void set500Handler(ProcessingNode node)
setInternalOnly
public void setInternalOnly(boolean internalOnly)
invoke
public final boolean invoke(Environment env,
InvokeContext context)
throws Exception
- Description copied from interface:
ProcessingNode
- Process environment.
- Specified by:
invoke
in interface ProcessingNode
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.