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

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.SimpleSelectorProcessingNode
                      extended by org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode
All Implemented Interfaces:
LogEnabled, ThreadSafe, NamedProcessingNode, ProcessingNode, Locatable

public class ActionSetNode
extends SimpleSelectorProcessingNode
implements NamedProcessingNode

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

Field Summary
static String ACTION_RESULTS
           
static String CALLER_PARAMETERS
           
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
componentName, selector
 
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
ActionSetNode(String name, ProcessingNode[] nodes, String[] actionNames)
           
 
Method Summary
 Map call(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(Environment env, InvokeContext context)
          Define common invoke behavior here
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
getThreadSafeComponent, getThreadSafeComponent, setSelector
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
hasChildren, setChildren
 
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
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
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(Environment env,
                            InvokeContext context)
                     throws Exception
Description copied from class: SimpleParentProcessingNode
Define common invoke behavior here

Specified by:
invoke in interface ProcessingNode
Overrides:
invoke in class SimpleParentProcessingNode
Throws:
Exception

call

public final Map call(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-2010 The Apache Software Foundation. All Rights Reserved.