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

All Implemented Interfaces:
    org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.service.Serviceable, Action

Sets the character encoding of parameters. Components use this encoding as default after the action.

Configuration parameters:

form-encoding (optional)
The supposed encoding of the request parameter.
These configuration options supported in both declaration and use time.

If no encoding specified, the action does nothing.

Fields inherited from org.apache.cocoon.acting.ServiceableAction:
manager
Fields inherited from org.apache.cocoon.acting.AbstractAction:
EMPTY_MAP
Method from org.apache.cocoon.acting.SetCharacterEncodingAction Summary:
act,   parameterize
Methods from org.apache.cocoon.acting.ServiceableAction:
service
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.acting.SetCharacterEncodingAction Detail:
 public Map act(Redirector redirector,
    SourceResolver resolver,
    Map objectModel,
    String src,
    Parameters par) throws Exception 
    Set character encoding of current request.
 public  void parameterize(Parameters parameters) throws ParameterException