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()
String
getRenderedContent(String templateContent, Map<String,Object> context)
String
getRenderedTemplate(String templateName, Map<String,Object> context)
String
getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context)
-
-
-
Method Detail
-
getRenderedTemplate
public String getRenderedTemplate(String templateName, Map<String,Object> context)
- Specified by:
getRenderedTemplate
in interfaceVelocityHelperService
-
getRenderedTemplateWithoutSwallowingErrors
public String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context) throws Exception
- Specified by:
getRenderedTemplateWithoutSwallowingErrors
in interfaceVelocityHelperService
- Throws:
Exception
-
getRenderedContent
public String getRenderedContent(String templateContent, Map<String,Object> context)
- Specified by:
getRenderedContent
in interfaceVelocityHelperService
-
createDefaultVelocityContext
public Map<String,Object> createDefaultVelocityContext()
- Specified by:
createDefaultVelocityContext
in interfaceVelocityHelperService
-
-