org.apache.cocoon.components.treeprocessor
Class AbstractParentProcessingNode

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
All Implemented Interfaces:
ExecutionContext, Locatable, LogEnabled, ProcessingNode, ThreadSafe
Direct Known Subclasses:
CategoryNode, HandleErrorsNode, PipelineNode, SimpleParentProcessingNode

public abstract class AbstractParentProcessingNode
extends AbstractProcessingNode

Version:
CVS $Id: AbstractParentProcessingNode.java 165284 2005-04-29 09:24:28Z cziegeler $
Author:
Sylvain Wallez

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
AbstractParentProcessingNode()
           
AbstractParentProcessingNode(String type)
           
 
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, getType, setLocation, setSitemapExecutor
 
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(String type)

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-2005 The Apache Software Foundation. All Rights Reserved.