com.opensymphony.xwork2
Class TextProviderFactory

java.lang.Object
  extended by com.opensymphony.xwork2.TextProviderFactory

public class TextProviderFactory
extends java.lang.Object

This factory enables users to provide and correctly initialize a custom TextProvider.

Author:
Oleg Gorobets, Rene Gielen

Constructor Summary
TextProviderFactory()
           
 
Method Summary
 TextProvider createInstance(java.lang.Class clazz, LocaleProvider provider)
           
 TextProvider createInstance(java.util.ResourceBundle bundle, LocaleProvider provider)
           
protected  TextProvider getTextProvider()
           
 void setTextProvider(TextProvider textProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextProviderFactory

public TextProviderFactory()
Method Detail

setTextProvider

public void setTextProvider(TextProvider textProvider)

getTextProvider

protected TextProvider getTextProvider()

createInstance

public TextProvider createInstance(java.lang.Class clazz,
                                   LocaleProvider provider)

createInstance

public TextProvider createInstance(java.util.ResourceBundle bundle,
                                   LocaleProvider provider)


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