Class PluginAwareStrutsLocalizedTextProvider

java.lang.Object
com.atlassian.bamboo.plugin.PluginAwareStrutsLocalizedTextProvider
All Implemented Interfaces:
com.opensymphony.xwork2.LocalizedTextProvider, Serializable

public class PluginAwareStrutsLocalizedTextProvider extends Object implements com.opensymphony.xwork2.LocalizedTextProvider
See Also:
  • Method Details

    • getInstance

      public static PluginAwareStrutsLocalizedTextProvider getInstance()
    • clearAndAddDefaultResourceBundle

      public void clearAndAddDefaultResourceBundle(String bundleName)
    • setContainer

      public void setContainer(com.opensymphony.xwork2.inject.Container container)
    • findDefaultText

      public String findDefaultText(String aTextName, Locale locale)
      Specified by:
      findDefaultText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findDefaultText

      public String findDefaultText(String aTextName, Locale locale, Object[] params)
      Specified by:
      findDefaultText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findResourceBundle

      public ResourceBundle findResourceBundle(String aBundleName, Locale locale)
      Specified by:
      findResourceBundle in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(Class aClass, String aTextName, Locale locale)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(ResourceBundle bundle, String aTextName, Locale locale)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • findText

      public String findText(ResourceBundle bundle, String aTextName, Locale locale, String defaultMessage, Object[] args, com.opensymphony.xwork2.util.ValueStack valueStack)
      Specified by:
      findText in interface com.opensymphony.xwork2.LocalizedTextProvider
    • addDefaultResourceBundle

      public void addDefaultResourceBundle(String resourceBundleName)
      Specified by:
      addDefaultResourceBundle in interface com.opensymphony.xwork2.LocalizedTextProvider
    • getDelegate

      public com.opensymphony.xwork2.util.StrutsLocalizedTextProvider getDelegate()