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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended by org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
              extended by org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
                  extended by org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode
All Implemented Interfaces:
Disposable, Composable, LogEnabled, ThreadSafe, ProcessingNode, Locatable

public final class PipelinesNode
extends SimpleParentProcessingNode
implements Composable, Disposable

Handles <map:pipelines>

Version:
$Id: PipelinesNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Jürgen Seitz, Björn Lütkemeier, Sylvain Wallez, Carsten Ziegeler

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
children
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
location
 
Fields inherited from interface org.apache.cocoon.components.treeprocessor.ProcessingNode
OBJECT_SOURCE_RESOLVER
 
Constructor Summary
PipelinesNode()
           
 
Method Summary
 void compose(ComponentManager manager)
          Keep the component manager used everywhere in the tree so that we can cleanly dispose it.
 void dispose()
          Dispose the component manager.
 void enableLogging(Logger logger)
           
 boolean invoke(Environment env, InvokeContext context)
          Process the environment.
 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, getSourceResolver, setLocation
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelinesNode

public PipelinesNode()
Method Detail

compose

public void compose(ComponentManager manager)
Keep the component manager used everywhere in the tree so that we can cleanly dispose it.

Specified by:
compose in interface Composable

enableLogging

public void enableLogging(Logger logger)
Specified by:
enableLogging in interface LogEnabled
Overrides:
enableLogging in class AbstractLogEnabled

setErrorHandler

public void setErrorHandler(ProcessingNode node)

setChildren

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

invoke

public final boolean invoke(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()
Dispose the component manager.

Specified by:
dispose in interface Disposable


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