## Uses of Interface
com.opensymphony.xwork2.LocaleProvider

- Packages that use LocaleProvider
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  com.opensymphony.xwork2.validator | XWork validation subsystem.
  com.opensymphony.xwork2.validator.validators | XWork default validator classes.
  org.apache.struts2 |
  org.apache.struts2.action |
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.
  org.apache.struts2.dispatcher.multipart | Classes to help dispatch multipart HTTP requests.

- - ### Uses of LocaleProvider in com.opensymphony.xwork2

    Classes in com.opensymphony.xwork2 that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultLocaleProvider` Default implementation of `LocaleProvider`

    Fields in com.opensymphony.xwork2 declared as LocaleProvider
    Modifier and Type | Field and Description
    --- | ---
    `protected LocaleProvider` | TextProviderSupport.`localeProvider`

    Methods in com.opensymphony.xwork2 that return LocaleProvider
    Modifier and Type | Method and Description
    --- | ---
    `LocaleProvider` | LocaleProviderFactory.`createLocaleProvider()` Create a new instance of `LocaleProvider`.
    `LocaleProvider` | DefaultLocaleProviderFactory.`createLocaleProvider()`

    Methods in com.opensymphony.xwork2 with parameters of type LocaleProvider
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResourceBundleTextProvider.`setLocaleProvider(LocaleProvider localeProvider)` Set the LocaleProvider to use.
    `void` | TextProviderSupport.`setLocaleProvider(LocaleProvider localeProvider)`

    Constructors in com.opensymphony.xwork2 with parameters of type LocaleProvider
    Constructor and Description
    `TextProviderSupport(Class clazz, LocaleProvider provider, LocalizedTextProvider localizedTextProvider)` Constructor.
    `TextProviderSupport(ResourceBundle bundle, LocaleProvider provider, LocalizedTextProvider localizedTextProvider)` Constructor.

  - ### Uses of LocaleProvider in com.opensymphony.xwork2.validator

    Subinterfaces of LocaleProvider in com.opensymphony.xwork2.validator
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ValidatorContext` The context for validation.

    Classes in com.opensymphony.xwork2.validator that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DelegatingValidatorContext` A default implementation of the `ValidatorContext` interface.

    Methods in com.opensymphony.xwork2.validator that return LocaleProvider
    Modifier and Type | Method and Description
    --- | ---
    `protected static LocaleProvider` | DelegatingValidatorContext.`makeLocaleProvider(Object object)`

    Constructors in com.opensymphony.xwork2.validator with parameters of type LocaleProvider
    Constructor and Description
    `DelegatingValidatorContext(ValidationAware validationAware, TextProvider textProvider, LocaleProvider localeProvider)` Creates a new validation context given a ValidationAware object, and a text and locale provider.

  - ### Uses of LocaleProvider in com.opensymphony.xwork2.validator.validators

    Classes in com.opensymphony.xwork2.validator.validators that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `VisitorFieldValidator.AppendingValidatorContext`

  - ### Uses of LocaleProvider in org.apache.struts2

    Classes in org.apache.struts2 that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActionSupport` Provides a default implementation for the most common actions.

    Methods in org.apache.struts2 that return LocaleProvider
    Modifier and Type | Method and Description
    --- | ---
    `protected LocaleProvider` | ActionSupport.`getLocaleProvider()`

  - ### Uses of LocaleProvider in org.apache.struts2.action

    Classes in org.apache.struts2.action that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CspReportAction` An abstract Action that can be extended to process the incoming CSP violation reports.
    `class` | `DefaultCspReportAction` The default implementation of `CspReportAction` that simply logs the JSON object that contains the details of the CSP violation.

  - ### Uses of LocaleProvider in org.apache.struts2.dispatcher

    Classes in org.apache.struts2.dispatcher that implement LocaleProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultActionSupport` A simple action support class that sets properties to be able to serve

  - ### Uses of LocaleProvider in org.apache.struts2.dispatcher.multipart

    Constructors in org.apache.struts2.dispatcher.multipart with parameters of type LocaleProvider
    Constructor and Description
    `MultiPartRequestWrapper(MultiPartRequest multiPartRequest, javax.servlet.http.HttpServletRequest request, String saveDir, LocaleProvider provider)`
    `MultiPartRequestWrapper(MultiPartRequest multiPartRequest, javax.servlet.http.HttpServletRequest request, String saveDir, LocaleProvider provider, boolean disableRequestAttributeValueStackLookup)` Process file downloads and log any errors.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.