org.apache.cocoon.acting
Class SectionCutterAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.ConfigurableServiceableAction
org.apache.cocoon.acting.SectionCutterAction
- All Implemented Interfaces:
- Action, Configurable, LogEnabled, Serviceable, ThreadSafe
- public class SectionCutterAction
- extends ConfigurableServiceableAction
- implements ThreadSafe
An action designed to set any number of variables, based on the current site
section. The action matches the request uri against a configurable set of
regular expressions (note: currently not implemented. Checking the beggining
of the URI). When an expression matches, the action will set the configured
variable in the Map.
- Version:
- CVS $Id: SectionCutterAction.java 155061 2005-02-23 20:10:26Z cziegeler $
- Author:
- Sergio Carvalho
Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SectionCutterAction
public SectionCutterAction()
configure
public void configure(Configuration conf)
throws ConfigurationException
- Description of the Method
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class AbstractConfigurableAction
- Parameters:
conf
- Description of Parameter
- Throws:
ConfigurationException
- Description of Exception
act
public Map act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws Exception
- A simple Action that logs if the
Session
object has been
created
- Specified by:
act
in interface Action
- Parameters:
redirector
- Description of Parameterresolver
- Description of ParameterobjectModel
- Description of Parametersrc
- Description of Parameterpar
- Description of Parameter
- Returns:
- Description of the Returned Value
- Throws:
Exception
- Description of Exception
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.