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

- Packages that use TextProvider
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  com.opensymphony.xwork2.ognl |
  com.opensymphony.xwork2.validator | XWork validation subsystem.
  com.opensymphony.xwork2.validator.validators | XWork default validator classes.
  org.apache.struts2.components |
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.

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

    Subinterfaces of TextProvider in com.opensymphony.xwork2
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ResourceBundleTextProvider` Extension Interface for TextProvider to help supporting ResourceBundles.

    Classes in com.opensymphony.xwork2 that implement TextProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActionSupport` Provides a default implementation for the most common actions.
    `class` | `CompositeTextProvider` This is a composite `TextProvider` that takes in an array or `List` of `TextProvider`s, it will consult each of them in order to get a composite result.
    `class` | `DefaultTextProvider` DefaultTextProvider gets texts from only the default resource bundles associated with the default bundles.
    `class` | `TextProviderSupport` Default TextProvider implementation.

    Fields in com.opensymphony.xwork2 declared as TextProvider
    Modifier and Type | Field and Description
    --- | ---
    `protected TextProvider` | StrutsTextProviderFactory.`defaultTextProvider`

    Methods in com.opensymphony.xwork2 that return TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `TextProvider` | StrutsTextProviderFactory.`createInstance(Class clazz)`
    `TextProvider` | TextProviderFactory.`createInstance(Class clazz)`
    `TextProvider` | StrutsTextProviderFactory.`createInstance(ResourceBundle bundle)`
    `TextProvider` | TextProviderFactory.`createInstance(ResourceBundle bundle)`
    `protected TextProvider` | ActionSupport.`getTextProvider()` If called first time it will create `TextProviderFactory`, inject dependency (if `Container` is accesible) into in, then will create new `TextProvider` and store it in a field for future references and at the returns reference to that field
    `protected TextProvider` | StrutsTextProviderFactory.`getTextProvider(Class clazz)`
    `protected TextProvider` | StrutsTextProviderFactory.`getTextProvider(ResourceBundle bundle)`

    Methods in com.opensymphony.xwork2 with parameters of type TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `void` | StrutsTextProviderFactory.`setDefaultTextProvider(TextProvider defaultTextProvider)`

    Constructors in com.opensymphony.xwork2 with parameters of type TextProvider
    Constructor and Description
    `CompositeTextProvider(TextProvider[] textProviders)` Instantiates a `CompositeTextProvider` with some predefined `textProviders`.

    Constructor parameters in com.opensymphony.xwork2 with type arguments of type TextProvider
    Constructor and Description
    `CompositeTextProvider(List<TextProvider> textProviders)` Instantiates a `CompositeTextProvider` with some predefined `textProviders`.

  - ### Uses of TextProvider in com.opensymphony.xwork2.ognl

    Fields in com.opensymphony.xwork2.ognl declared as TextProvider
    Modifier and Type | Field and Description
    --- | ---
    `protected TextProvider` | OgnlValueStackFactory.`textProvider`

    Methods in com.opensymphony.xwork2.ognl with parameters of type TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | OgnlValueStackFactory.`setTextProvider(TextProvider textProvider)`

    Constructors in com.opensymphony.xwork2.ognl with parameters of type TextProvider
    Constructor and Description
    `OgnlValueStack(XWorkConverter xworkConverter, CompoundRootAccessor accessor, TextProvider prov, boolean allowStaticAccess)`

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

    Subinterfaces of TextProvider 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 TextProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DelegatingValidatorContext` A default implementation of the `ValidatorContext` interface.

    Methods in com.opensymphony.xwork2.validator that return TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `protected TextProvider` | DelegatingValidatorContext.`getTextProvider()`
    `TextProvider` | DelegatingValidatorContext.`makeTextProvider(Object object, TextProviderFactory textProviderFactory)`

    Methods in com.opensymphony.xwork2.validator with parameters of type TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DelegatingValidatorContext.`setTextProvider(TextProvider textProvider)`

    Constructors in com.opensymphony.xwork2.validator with parameters of type TextProvider
    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 TextProvider in com.opensymphony.xwork2.validator.validators

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

    Constructors in com.opensymphony.xwork2.validator.validators with parameters of type TextProvider
    Constructor and Description
    `VisitorFieldValidator.AppendingValidatorContext(ValidatorContext parent, TextProvider textProvider, String field, String message)`

  - ### Uses of TextProvider in org.apache.struts2.components

    Methods in org.apache.struts2.components with parameters of type TextProvider
    Modifier and Type | Method and Description
    --- | ---
    `String` | Date.`formatTime(TextProvider tp, Date date)` Calculates the difference in time from now to the given date, and outputs it nicely.
    `void` | I18n.`setTextProvider(TextProvider textProvider)`

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

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

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