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 VelocityHelperService
public String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,?> context) throws Exception
getRenderedTemplateWithoutSwallowingErrors
in interface VelocityHelperService
Exception
public String getRenderedContent(String templateContent, Map<String,?> context)
getRenderedContent
in interface VelocityHelperService
public Map<String,Object> createDefaultVelocityContext()
createDefaultVelocityContext
in interface VelocityHelperService
Copyright © 2003–2017 Atlassian. All rights reserved.