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

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
              |
              +--org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
                    |
                    +--org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
                          |
                          +--org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
                                |
                                +--org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNode
All Implemented Interfaces:
org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.logger.Loggable, NamedProcessingNode, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe

public class ActionSetNode
extends SimpleSelectorProcessingNode
implements org.apache.avalon.framework.activity.Disposable, NamedProcessingNode, org.apache.avalon.framework.component.Composable

Version:
CVS $Id: ActionSetNode.java,v 1.1 2002/03/05 08:26:23 sylvain Exp $
Author:
Sylvain Wallez

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(java.lang.String name, java.lang.String[] types, java.lang.String[] actionNames, MapStackResolver[] sources)
           
 
Method Summary
 java.util.Map call(Environment env, InvokeContext context, org.apache.avalon.framework.parameters.Parameters params)
          Call the actions composing the action-set and return the combined result of these actions.
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
           
 void dispose()
           
 java.lang.String getName()
          Implementation of NamedProcessingNode.
 boolean invoke(Environment env, InvokeContext context)
          Process environment.
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
getThreadSafeComponent, getThreadSafeComponent, setSelector
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
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.AbstractLoggable
getLogger, setLogger, 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
 

Constructor Detail

ActionSetNode

public ActionSetNode(java.lang.String name,
                     java.lang.String[] types,
                     java.lang.String[] actionNames,
                     MapStackResolver[] sources)
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
             throws org.apache.avalon.framework.component.ComponentException
Specified by:
compose in interface org.apache.avalon.framework.component.Composable

invoke

public final boolean invoke(Environment env,
                            InvokeContext context)
                     throws java.lang.Exception
Description copied from interface: ProcessingNode
Process environment.
Specified by:
invoke in interface ProcessingNode

call

public final java.util.Map call(Environment env,
                                InvokeContext context,
                                org.apache.avalon.framework.parameters.Parameters params)
                         throws java.lang.Exception
Call the actions composing the action-set and return the combined result of these actions.

dispose

public void dispose()
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable

getName

public java.lang.String getName()
Implementation of NamedProcessingNode.
Specified by:
getName in interface NamedProcessingNode


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.