org.apache.empire.struts2.actionsupport
Class TextProviderActionSupport

java.lang.Object
  extended by com.opensymphony.xwork2.TextProviderSupport
      extended by org.apache.empire.struts2.actionsupport.TextProviderActionSupport
All Implemented Interfaces:
com.opensymphony.xwork2.ResourceBundleTextProvider, com.opensymphony.xwork2.TextProvider

public class TextProviderActionSupport
extends com.opensymphony.xwork2.TextProviderSupport


Field Summary
protected static org.slf4j.Logger log
           
 
Method Summary
static com.opensymphony.xwork2.TextProvider getInstance(Class<?> clazz, com.opensymphony.xwork2.LocaleProvider provider)
           
 String getText(String key, String defaultValue, List<Object> args)
           
static boolean isCachingEnabled()
           
static void setCachingEnabled(boolean enable)
           
 
Methods inherited from class com.opensymphony.xwork2.TextProviderSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasKey, setBundle, setClazz, setLocaleProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log
Method Detail

setCachingEnabled

public static void setCachingEnabled(boolean enable)

getInstance

public static com.opensymphony.xwork2.TextProvider getInstance(Class<?> clazz,
                                                               com.opensymphony.xwork2.LocaleProvider provider)

isCachingEnabled

public static boolean isCachingEnabled()

getText

public String getText(String key,
                      String defaultValue,
                      List<Object> args)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.TextProviderSupport


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.