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 ResourceBundleTextProvider

All Superinterfaces:
  TextProvider

All Known Implementing Classes:
  TextProviderSupport

    public interface ResourceBundleTextProvider

extends TextProvider

Extension Interface for TextProvider to help supporting ResourceBundles.

Author:
  Rene Gielen

Method Summary
`void` | `setBundle(ResourceBundle bundle)` Set the resource bundle to use.
`void` | `setClazz(Class clazz)` Set the class to use for reading the resource bundle.
`void` | `setLocaleProvider(LocaleProvider localeProvider)` Set the LocaleProvider to use.

Methods inherited from interface com.opensymphony.xwork2.TextProvider
`getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasKey`

Method Detail

### setBundle

    void setBundle(ResourceBundle bundle)

  Set the resource bundle to use.

  Parameters:
    `bundle` - the bundle to use.

### setClazz

    void setClazz(Class clazz)

  Set the class to use for reading the resource bundle.

  Parameters:
    `clazz` - the class to use for loading.

### setLocaleProvider

    void setLocaleProvider(LocaleProvider localeProvider)

  Set the LocaleProvider to use.

  Parameters:
    `localeProvider` - the LocaleProvider to use.

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–2018 Apache Software Foundation. All rights reserved.