This project has retired. For details please refer to its
Attic page .
AbstractMultiAction (Cocoon Sitemap Implementation 1.0.0 API)
org.apache.cocoon.acting
Class AbstractMultiAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.ConfigurableServiceableAction
org.apache.cocoon.acting.AbstractMultiAction
All Implemented Interfaces: org.apache.cocoon.acting.Action, Configurable , Serviceable
public abstract class AbstractMultiAction extends ConfigurableServiceableAction
The AbstractMultiAction
provides a way
to call methods of an action specified by
the method
parameter or request parameter.
This can be extremly useful for action-sets or as
action-sets replacement.
Example:
will call the method "doSave" of the MultiAction
Version:
$Id: AbstractMultiAction.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
Method Summary
Map
act (org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
void
configure (Configuration conf)
Configures the Action.
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
AbstractMultiAction
public AbstractMultiAction ()
configure
public void configure (Configuration conf)
throws ConfigurationException
Description copied from class: AbstractConfigurableAction
Configures the Action.
Takes the children from the Configuration
and stores them
them as key (configuration name) and value (configuration value)
in settings
.
This automates parsing of flat string-only configurations.
For nested configurations, override this function in your action.
Specified by: configure
in interface Configurable
Overrides: configure
in class AbstractConfigurableAction
Throws:
ConfigurationException
act
public Map act (org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws Exception
Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.