Home » xwork-2.1.5 » com.opensymphony » xwork2 » [javadoc | source]
public interface: LocaleProvider [javadoc | source]

All Known Implementing Classes:
    ActionSupport, AppendingValidatorContext, ActionContextLocaleProvider, DelegatingValidatorContext, ValidatorContext

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.

Method from com.opensymphony.xwork2.LocaleProvider Summary:
Method from com.opensymphony.xwork2.LocaleProvider Detail:
 public Locale getLocale()
    Gets the provided locale.