org.apache.commons.chain.web.portlet
Class PortletSetLocaleCommand

java.lang.Object
  extended by org.apache.commons.chain.web.AbstractSetLocaleCommand
      extended by org.apache.commons.chain.web.portlet.PortletSetLocaleCommand
All Implemented Interfaces:
Command

public class PortletSetLocaleCommand
extends AbstractSetLocaleCommand

Concrete implementation of AbstractSetLocaleCommand for the Portlet API.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
PortletSetLocaleCommand()
           
 
Method Summary
protected  void setLocale(Context context, Locale locale)
          Establish the specified Locale for this response.
 
Methods inherited from class org.apache.commons.chain.web.AbstractSetLocaleCommand
execute, getLocaleKey, setLocaleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSetLocaleCommand

public PortletSetLocaleCommand()
Method Detail

setLocale

protected void setLocale(Context context,
                         Locale locale)

Establish the specified Locale for this response.

Specified by:
setLocale in class AbstractSetLocaleCommand
Parameters:
context - The Context we are operating on.
locale - The Locale for the request.


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.