Class DefaultVelocityHelperService
- java.lang.Object
-
- com.atlassian.confluence.plugin.services.DefaultVelocityHelperService
-
- All Implemented Interfaces:
VelocityHelperService
public class DefaultVelocityHelperService extends Object implements VelocityHelperService
-
-
Constructor Summary
Constructors Constructor Description DefaultVelocityHelperService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createDefaultVelocityContext()StringgetRenderedContent(String templateContent, Map<String,Object> context)StringgetRenderedTemplate(String templateName, Map<String,Object> context)StringgetRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context)
-
-
-
Method Detail
-
getRenderedTemplate
public String getRenderedTemplate(String templateName, Map<String,Object> context)
- Specified by:
getRenderedTemplatein interfaceVelocityHelperService
-
getRenderedTemplateWithoutSwallowingErrors
public String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context) throws Exception
- Specified by:
getRenderedTemplateWithoutSwallowingErrorsin interfaceVelocityHelperService- Throws:
Exception
-
getRenderedContent
public String getRenderedContent(String templateContent, Map<String,Object> context)
- Specified by:
getRenderedContentin interfaceVelocityHelperService
-
createDefaultVelocityContext
public Map<String,Object> createDefaultVelocityContext()
- Specified by:
createDefaultVelocityContextin interfaceVelocityHelperService
-
-