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 -
Method Summary
Modifier and TypeMethodDescriptiongetI18nValue
(String key, List arguments, Map context) loadComponent
(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.Condition
loadCondition
(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.ContextProvider
loadContextProvider
(String className, com.atlassian.plugin.Plugin plugin) renderVelocityFragment
(String fragment, Map context) void
setI18NBeanFactory
(I18NBeanFactory i18NBeanFactory)
-
Constructor Details
-
ConfluenceWebFragmentHelper
public ConfluenceWebFragmentHelper()
-
-
Method Details
-
loadComponent
public Object loadComponent(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.api.conditions.ConditionLoadingException - Throws:
com.atlassian.plugin.web.api.conditions.ConditionLoadingException
-
loadCondition
public com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.api.conditions.ConditionLoadingException - Specified by:
loadCondition
in interfacecom.atlassian.plugin.web.WebFragmentHelper
- Throws:
com.atlassian.plugin.web.api.conditions.ConditionLoadingException
-
loadContextProvider
public com.atlassian.plugin.web.ContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.api.conditions.ConditionLoadingException - Specified by:
loadContextProvider
in interfacecom.atlassian.plugin.web.WebFragmentHelper
- Throws:
com.atlassian.plugin.web.api.conditions.ConditionLoadingException
-
getI18nValue
- Specified by:
getI18nValue
in interfacecom.atlassian.plugin.web.WebFragmentHelper
-
renderVelocityFragment
- Specified by:
renderVelocityFragment
in interfacecom.atlassian.plugin.web.WebFragmentHelper
-
setI18NBeanFactory
- Specified by:
setI18NBeanFactory
in interfaceUserLocaleAware
- Parameters:
i18NBeanFactory
- the user locale sensitive i18n bean factory
-