org.apache.cocoon.components.treeprocessor
Class AbstractParentProcessingNode

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
All Implemented Interfaces:
LogEnabled, ThreadSafe, ProcessingNode, Locatable
Direct Known Subclasses:
CategoryNode, HandleErrorsNode, PipelineNode, SimpleParentProcessingNode

public abstract class AbstractParentProcessingNode
extends AbstractProcessingNode

Version:
CVS $Id: AbstractParentProcessingNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
 
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
AbstractParentProcessingNode()
           
 
Method Summary
protected  boolean invokeNodes(ProcessingNode[] nodes, Environment env, InvokeContext context)
          Invoke all nodes of a node array in order, until one succeeds.
protected  boolean invokeNodes(ProcessingNode[] nodes, Environment env, InvokeContext context, String currentName, Map currentMap)
          Invoke all nodes of a node array in order, until one succeeds.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
getLocation, getSourceResolver, setLocation
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
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
invoke
 

Constructor Detail

AbstractParentProcessingNode

public AbstractParentProcessingNode()
Method Detail

invokeNodes

protected final boolean invokeNodes(ProcessingNode[] nodes,
                                    Environment env,
                                    InvokeContext context,
                                    String currentName,
                                    Map currentMap)
                             throws Exception
Invoke all nodes of a node array in order, until one succeeds.

Parameters:
currentMap - the Map of parameters produced by this node, which is added to listOfMap.
Throws:
Exception

invokeNodes

protected final boolean invokeNodes(ProcessingNode[] nodes,
                                    Environment env,
                                    InvokeContext context)
                             throws Exception
Invoke all nodes of a node array in order, until one succeeds.

Throws:
Exception


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