Interface VelocityHelperService
-
- All Known Implementing Classes:
DefaultVelocityHelperService
public interface VelocityHelperService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<String,Object>createDefaultVelocityContext()default StringgetRenderedContent(String templateContent, Map<String,Object> context)StringgetRenderedContent(String templateContent, org.apache.velocity.context.Context context)StringgetRenderedTemplate(String templateName, Map<String,Object> context)StringgetRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context)
-
-
-
Method Detail
-
getRenderedTemplateWithoutSwallowingErrors
String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context) throws Exception
- Throws:
Exception
-
getRenderedContent
default String getRenderedContent(String templateContent, Map<String,Object> context)
-
getRenderedContent
String getRenderedContent(String templateContent, org.apache.velocity.context.Context context)
- Since:
- 8.6
-
-