org.apache.cocoon.components.treeprocessor
Class AbstractParentProcessingNode

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe
Direct Known Subclasses:
CategoryNode, HandleErrorsNode, PipelineNode, SimpleParentProcessingNode

public abstract class AbstractParentProcessingNode
extends AbstractProcessingNode

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

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, org.apache.cocoon.environment.Environment env, InvokeContext context)
          Invoke all nodes of a node array in order, until one succeeds.
protected  boolean invokeNodes(ProcessingNode[] nodes, org.apache.cocoon.environment.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.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
invoke
 

Constructor Detail

AbstractParentProcessingNode

public AbstractParentProcessingNode(String type)

AbstractParentProcessingNode

public AbstractParentProcessingNode()
Method Detail

invokeNodes

protected final boolean invokeNodes(ProcessingNode[] nodes,
                                    org.apache.cocoon.environment.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,
                                    org.apache.cocoon.environment.Environment env,
                                    InvokeContext context)
                             throws Exception
Invoke all nodes of a node array in order, until one succeeds.

Throws:
Exception


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