public class DefaultVelocityHelperService extends Object implements VelocityHelperService
| Constructor and Description |
|---|
DefaultVelocityHelperService() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
createDefaultVelocityContext() |
String |
getRenderedContent(String templateContent,
Map<String,?> context) |
String |
getRenderedTemplate(String templateName,
Map<String,?> context) |
String |
getRenderedTemplateWithoutSwallowingErrors(String templateName,
Map<String,?> context) |
public String getRenderedTemplate(String templateName, Map<String,?> context)
getRenderedTemplate in interface VelocityHelperServicepublic String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,?> context) throws Exception
getRenderedTemplateWithoutSwallowingErrors in interface VelocityHelperServiceExceptionpublic String getRenderedContent(String templateContent, Map<String,?> context)
getRenderedContent in interface VelocityHelperServicepublic Map<String,Object> createDefaultVelocityContext()
createDefaultVelocityContext in interface VelocityHelperServiceCopyright © 2003–2019 Atlassian. All rights reserved.