Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2
Interface LocaleProvider

All Known Subinterfaces:
  ValidatorContext

All Known Implementing Classes:
  ActionSupport, DelegatingValidatorContext, VisitorFieldValidator.AppendingValidatorContext

    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

Method Summary
`java.util.Locale` | `getLocale()` Gets the provided locale.

Method Detail

### getLocale

    java.util.Locale getLocale()

  Gets the provided locale.

  Returns:
    the locale.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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