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

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebFragmentHelper
All Implemented Interfaces:
UserLocaleAware, com.atlassian.plugin.web.WebFragmentHelper

public class ConfluenceWebFragmentHelper
extends java.lang.Object
implements com.atlassian.plugin.web.WebFragmentHelper, UserLocaleAware


Constructor Summary
ConfluenceWebFragmentHelper()
           
 
Method Summary
 java.lang.String getI18nValue(java.lang.String key, java.util.List arguments, java.util.Map context)
           
 java.lang.Object loadComponent(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.Condition loadCondition(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 java.lang.String renderVelocityFragment(java.lang.String fragment, java.util.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 java.lang.Object loadComponent(java.lang.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(java.lang.String className,
                                                        com.atlassian.plugin.Plugin plugin)
                                                 throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadCondition in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

loadContextProvider

public com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className,
                                                                    com.atlassian.plugin.Plugin plugin)
                                                             throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadContextProvider in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

getI18nValue

public java.lang.String getI18nValue(java.lang.String key,
                                     java.util.List arguments,
                                     java.util.Map context)
Specified by:
getI18nValue in interface com.atlassian.plugin.web.WebFragmentHelper

renderVelocityFragment

public java.lang.String renderVelocityFragment(java.lang.String fragment,
                                               java.util.Map context)
Specified by:
renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper

setI18NBeanFactory

public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
Specified by:
setI18NBeanFactory in interface UserLocaleAware
Parameters:
i18NBeanFactory - the user locale sensitive i18n bean factory


Copyright © 2003-2011 Atlassian. All Rights Reserved.