public class StrutsTextProviderFactory extends Object implements TextProviderFactory
Modifier and Type | Field and Description |
---|---|
protected TextProvider |
defaultTextProvider |
protected LocaleProviderFactory |
localeProviderFactory |
protected LocalizedTextProvider |
localizedTextProvider |
Constructor and Description |
---|
StrutsTextProviderFactory() |
Modifier and Type | Method and Description |
---|---|
TextProvider |
createInstance(Class clazz) |
TextProvider |
createInstance(ResourceBundle bundle) |
protected TextProvider |
getTextProvider(Class clazz) |
protected TextProvider |
getTextProvider(ResourceBundle bundle) |
void |
setDefaultTextProvider(TextProvider defaultTextProvider) |
void |
setLocaleProviderFactory(LocaleProviderFactory localeProviderFactory) |
void |
setLocalizedTextProvider(LocalizedTextProvider localizedTextProvider) |
protected LocaleProviderFactory localeProviderFactory
protected LocalizedTextProvider localizedTextProvider
protected TextProvider defaultTextProvider
public void setLocaleProviderFactory(LocaleProviderFactory localeProviderFactory)
public void setLocalizedTextProvider(LocalizedTextProvider localizedTextProvider)
public void setDefaultTextProvider(TextProvider defaultTextProvider)
public TextProvider createInstance(Class clazz)
createInstance
in interface TextProviderFactory
public TextProvider createInstance(ResourceBundle bundle)
createInstance
in interface TextProviderFactory
protected TextProvider getTextProvider(Class clazz)
protected TextProvider getTextProvider(ResourceBundle bundle)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.