Class ConfluenceWebFragmentHelper
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebFragmentHelper
-
- All Implemented Interfaces:
UserLocaleAware,com.atlassian.plugin.web.WebFragmentHelper
public class ConfluenceWebFragmentHelper extends Object implements com.atlassian.plugin.web.WebFragmentHelper, UserLocaleAware
-
-
Constructor Summary
Constructors Constructor Description ConfluenceWebFragmentHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetI18nValue(String key, List arguments, Map context)ObjectloadComponent(String className, com.atlassian.plugin.Plugin plugin)com.atlassian.plugin.web.ConditionloadCondition(String className, com.atlassian.plugin.Plugin plugin)com.atlassian.plugin.web.ContextProviderloadContextProvider(String className, com.atlassian.plugin.Plugin plugin)StringrenderVelocityFragment(String fragment, Map context)voidsetI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
-
-
-
Method Detail
-
loadComponent
public Object loadComponent(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
- Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException
-
loadCondition
public com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
- Specified by:
loadConditionin interfacecom.atlassian.plugin.web.WebFragmentHelper- Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException
-
loadContextProvider
public com.atlassian.plugin.web.ContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
- Specified by:
loadContextProviderin interfacecom.atlassian.plugin.web.WebFragmentHelper- Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException
-
getI18nValue
public String getI18nValue(String key, List arguments, Map context)
- Specified by:
getI18nValuein interfacecom.atlassian.plugin.web.WebFragmentHelper
-
renderVelocityFragment
public String renderVelocityFragment(String fragment, Map context)
- Specified by:
renderVelocityFragmentin interfacecom.atlassian.plugin.web.WebFragmentHelper
-
setI18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
- Specified by:
setI18NBeanFactoryin interfaceUserLocaleAware- Parameters:
i18NBeanFactory- the user locale sensitive i18n bean factory
-
-