com.opensymphony.xwork
Interface LocaleProvider

All Known Subinterfaces:
ValidatorContext
All Known Implementing Classes:
ActionSupport, DelegatingValidatorContext

public interface LocaleProvider

Indicates that the implementing class can provide its own Locale. This is useful for when an action may wish override the default locale. All that is needed is to implement this interface and return your own custom locale. The TextProvider interface uses this interface heavily for retrieving internationalized messages from resource bundles.

Author:
Jason Carreira Date: Oct 29, 2003 9:11:22 PM

Method Summary
 Locale getLocale()
           
 

Method Detail

getLocale

Locale getLocale()

XWork Project Page