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

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.SimpleParentProcessingNode
                  extended byorg.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode
All Implemented Interfaces:
Disposable, org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, Serviceable, ThreadSafe

public final class PipelinesNode
extends SimpleParentProcessingNode
implements Serviceable, Disposable

Handles <map:pipelines>

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

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
children
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
PipelinesNode()
          Constructor
 
Method Summary
 void dispose()
           
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process the environment.
 void service(ServiceManager manager)
          Pass manager to ErrorHandlerHelper.
 void setChildren(ProcessingNode[] nodes)
           
 void setErrorHandler(ProcessingNode node)
           
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
hasChildren
 
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
 

Constructor Detail

PipelinesNode

public PipelinesNode()
Constructor

Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Pass manager to ErrorHandlerHelper.

Specified by:
service in interface Serviceable
Throws:
ServiceException

setErrorHandler

public void setErrorHandler(ProcessingNode node)

setChildren

public void setChildren(ProcessingNode[] nodes)
Overrides:
setChildren in class SimpleParentProcessingNode

invoke

public final boolean invoke(org.apache.cocoon.environment.Environment env,
                            InvokeContext context)
                     throws Exception
Process the environment. Also adds a SourceResolver and a Redirector in the object model. The previous resolver and redirector, if any, are restored before return.

Specified by:
invoke in interface ProcessingNode
Overrides:
invoke in class SimpleParentProcessingNode
Throws:
Exception

dispose

public void dispose()
Specified by:
dispose in interface Disposable


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