Home » xwork-2.1.5 » com.opensymphony » xwork2 » [javadoc | source]
com.opensymphony.xwork2
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:
getLocale
Method from com.opensymphony.xwork2.LocaleProvider Detail:
 public Locale getLocale()
    Gets the provided locale.