Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » acting » [javadoc | source]
org.apache.cocoon.acting
public class: SectionCutterAction [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.acting.AbstractAction
         org.apache.cocoon.acting.AbstractConfigurableAction
            org.apache.cocoon.acting.ConfigurableComposerAction
               org.apache.cocoon.acting.SectionCutterAction

All Implemented Interfaces:
    org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, Action

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.
Nested Class Summary:
class  SectionCutterAction.Section  Description of the Class 
Field Summary
 Vector sections     
Fields inherited from org.apache.cocoon.acting.ConfigurableComposerAction:
manager
Fields inherited from org.apache.cocoon.acting.AbstractConfigurableAction:
settings
Fields inherited from org.apache.cocoon.acting.AbstractAction:
EMPTY_MAP
Method from org.apache.cocoon.acting.SectionCutterAction Summary:
act,   configure
Methods from org.apache.cocoon.acting.ConfigurableComposerAction:
compose
Methods from org.apache.cocoon.acting.AbstractConfigurableAction:
configure
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.acting.SectionCutterAction Detail:
 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
 public  void configure(Configuration conf) throws ConfigurationException 
    Description of the Method