public class ConfluenceWebFragmentHelper extends Object implements com.atlassian.plugin.web.WebFragmentHelper, UserLocaleAware
Constructor and Description |
---|
ConfluenceWebFragmentHelper() |
Modifier and Type | Method and Description |
---|---|
String |
getI18nValue(String key,
List arguments,
Map context) |
Object |
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) |
String |
renderVelocityFragment(String fragment,
Map context) |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
public Object loadComponent(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
com.atlassian.plugin.web.conditions.ConditionLoadingException
public com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
loadCondition
in interface com.atlassian.plugin.web.WebFragmentHelper
com.atlassian.plugin.web.conditions.ConditionLoadingException
public com.atlassian.plugin.web.ContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
loadContextProvider
in interface com.atlassian.plugin.web.WebFragmentHelper
com.atlassian.plugin.web.conditions.ConditionLoadingException
public String getI18nValue(String key, List arguments, Map context)
getI18nValue
in interface com.atlassian.plugin.web.WebFragmentHelper
public String renderVelocityFragment(String fragment, Map context)
renderVelocityFragment
in interface com.atlassian.plugin.web.WebFragmentHelper
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
setI18NBeanFactory
in interface UserLocaleAware
i18NBeanFactory
- the user locale sensitive i18n bean factoryCopyright © 2003–2017 Atlassian. All rights reserved.