org.apache.cocoon.components.treeprocessor.sitemap
Class PipelineNode

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
              extended byorg.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ParameterizableProcessingNode, ProcessingNode, Serviceable, ThreadSafe

public class PipelineNode
extends AbstractParentProcessingNode
implements Serviceable, ParameterizableProcessingNode

Handles <map:pipeline>

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

Field Summary
protected  Map parameters
          Optional sitemap parameters
protected  String processingPipeline
          The component name of the processing pipeline
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
PipelineNode(String name)
          A constructor to receive the optional expires parameter and optional parameters for the processing pipeline
 
Method Summary
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process environment.
 void service(ServiceManager manager)
          The component manager is used to create error pipelines
 void setChildren(ProcessingNode[] nodes)
           
 void setErrorHandler(ProcessingNode node)
           
 void setInternalOnly(boolean internalOnly)
           
 void setLast(boolean isLast)
           
 void setParameters(Map parameterMap)
          Set the parameters of this node as a Map of VariableResolvers that will be resolved at process-time.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
invokeNodes, invokeNodes
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
getLocation, getType, setLocation, setSitemapExecutor
 
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.ProcessingNode
getLocation
 

Field Detail

processingPipeline

protected String processingPipeline
The component name of the processing pipeline


parameters

protected Map parameters
Optional sitemap parameters

Constructor Detail

PipelineNode

public PipelineNode(String name)
A constructor to receive the optional expires parameter and optional parameters for the processing pipeline

Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
The component manager is used to create error pipelines

Specified by:
service in interface Serviceable
Throws:
ServiceException

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 VariableResolvers that will be resolved at process-time.

Specified by:
setParameters in interface ParameterizableProcessingNode

setLast

public void setLast(boolean isLast)

setErrorHandler

public void setErrorHandler(ProcessingNode node)

setInternalOnly

public void setInternalOnly(boolean internalOnly)

invoke

public final boolean invoke(org.apache.cocoon.environment.Environment env,
                            InvokeContext context)
                     throws Exception
Description copied from interface: ProcessingNode
Process environment.

Specified by:
invoke in interface ProcessingNode
Throws:
Exception


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