org.apache.struts.chain.commands.servlet
Class SelectLocale

java.lang.Object
  extended by org.apache.struts.chain.commands.ActionCommandBase
      extended by org.apache.struts.chain.commands.AbstractSelectLocale
          extended by org.apache.struts.chain.commands.servlet.SelectLocale
All Implemented Interfaces:
org.apache.commons.chain.Command, ActionCommand

public class SelectLocale
extends AbstractSelectLocale

Select the Locale to be used for this request.

Version:
$Rev: 471754 $ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005) $

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
SelectLocale()
           
 
Method Summary
protected  Locale getLocale(ActionContext context)
          Return the Locale to be used for this request.
 
Methods inherited from class org.apache.struts.chain.commands.AbstractSelectLocale
execute
 
Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectLocale

public SelectLocale()
Method Detail

getLocale

protected Locale getLocale(ActionContext context)

Return the Locale to be used for this request.

Specified by:
getLocale in class AbstractSelectLocale
Parameters:
context - The Context for this request
Returns:
The Locale to be used for this request


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.