| org.apache.cocoon.acting.Action
All known Subclasses: org.apache.cocoon.acting.ResetCounterAction, org.apache.cocoon.acting.JMSPublisherAction, org.apache.cocoon.faces.FacesAction, org.apache.cocoon.woody.acting.MakeFormAction, org.apache.cocoon.forms.acting.MakeFormAction, org.apache.cocoon.acting.AbstractAction, org.apache.cocoon.forms.acting.AbstractFormsAction, org.apache.cocoon.woody.acting.AbstractWoodyAction, org.apache.cocoon.woody.acting.HandleFormSubmitAction,
Action | public interface Action extends Component(Code) | | author: Giacomo Pati version: CVS $Id: Action.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
Map | act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) Controls the processing against some values of the
Dictionary objectModel and returns a
Map object with values used in subsequent
sitemap substitution patterns. |
act | Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception(Code) | | Controls the processing against some values of the
Dictionary objectModel and returns a
Map object with values used in subsequent
sitemap substitution patterns.
NOTE: This interface is designed so that implentations can be ThreadSafe.
When an action is ThreadSafe, only one instance serves all requests : this
reduces memory usage and avoids pooling.
Parameters: resolver - The SourceResolver in charge Parameters: objectModel - The Map with object of thecalling environment which can be usedto select values this controller may need(ie Request, Response). Parameters: source - A source String to the Action Parameters: parameters - The Parameters for this invocation Map The returned Map object withsitemap substitution values which can be usedin subsequent elements attributes like src=using a xpath like expression: src="mydir/{myval}/foo"If the return value is null the processing insidethe element of the sitemap willbe skipped. exception: Exception - Indicates something is totally wrong |
|
|