com.atlassian.confluence.plugin.descriptor.web
Class ConfluenceWebFragmentHelper

java.lang.Object
  extended bycom.atlassian.confluence.plugin.descriptor.web.ConfluenceWebFragmentHelper
All Implemented Interfaces:
WebFragmentHelper

public class ConfluenceWebFragmentHelper
extends Object
implements WebFragmentHelper


Constructor Summary
ConfluenceWebFragmentHelper()
           
 
Method Summary
 String getI18nValue(String key, List arguments, Map context)
           
 Object loadComponent(String className, Plugin plugin)
           
 Condition loadCondition(String className, Plugin plugin)
           
 ContextProvider loadContextProvider(String className, Plugin plugin)
           
 String renderVelocityFragment(String fragment, Map context)
           
 void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceWebFragmentHelper

public ConfluenceWebFragmentHelper()
Method Detail

loadComponent

public Object loadComponent(String className,
                            Plugin plugin)
                     throws ConditionLoadingException
Throws:
ConditionLoadingException

loadCondition

public Condition loadCondition(String className,
                               Plugin plugin)
                        throws ConditionLoadingException
Specified by:
loadCondition in interface WebFragmentHelper
Throws:
ConditionLoadingException

loadContextProvider

public ContextProvider loadContextProvider(String className,
                                           Plugin plugin)
                                    throws ConditionLoadingException
Specified by:
loadContextProvider in interface WebFragmentHelper
Throws:
ConditionLoadingException

getI18nValue

public String getI18nValue(String key,
                           List arguments,
                           Map context)
Specified by:
getI18nValue in interface WebFragmentHelper

renderVelocityFragment

public String renderVelocityFragment(String fragment,
                                     Map context)
Specified by:
renderVelocityFragment in interface WebFragmentHelper

setI18NBeanFactory

public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)


Confluence is developed by Atlassian.