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

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, NamedProcessingNode, ProcessingNode, ThreadSafe

public class ActionSetNode
extends AbstractProcessingNode
implements NamedProcessingNode

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

Field Summary
static String ACTION_RESULTS
           
static String CALLER_PARAMETERS
           
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
ActionSetNode(String name, ProcessingNode[] nodes, String[] actionNames)
           
 
Method Summary
 Map call(org.apache.cocoon.environment.Environment env, InvokeContext context, Parameters params)
          Call the actions composing the action-set and return the combined result of these actions.
 String getName()
          Implementation of NamedProcessingNode.
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process environment.
 
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
getLocation
 

Field Detail

CALLER_PARAMETERS

public static final String CALLER_PARAMETERS

ACTION_RESULTS

public static final String ACTION_RESULTS
Constructor Detail

ActionSetNode

public ActionSetNode(String name,
                     ProcessingNode[] nodes,
                     String[] actionNames)
Method Detail

invoke

public final boolean invoke(org.apache.cocoon.environment.Environment env,
                            InvokeContext context)
                     throws Exception
Description copied from interface: ProcessingNode
Process environment.

Specified by:
invoke in interface ProcessingNode
Throws:
Exception

call

public final Map call(org.apache.cocoon.environment.Environment env,
                      InvokeContext context,
                      Parameters params)
               throws Exception
Call the actions composing the action-set and return the combined result of these actions.

Throws:
Exception

getName

public String getName()
Implementation of NamedProcessingNode.

Specified by:
getName in interface NamedProcessingNode


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