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 String
getRenderedContent(String templateContent, Map<String,Object> context)
String
getRenderedContent(String templateContent, org.apache.velocity.context.Context context)
String
getRenderedContentWithoutSwallowingErrors(String templateContent, org.apache.velocity.context.Context context)
String
getRenderedTemplate(String templateName, Map<String,Object> context)
String
getRenderedTemplateWithoutSwallowingErrors(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
-
getRenderedContentWithoutSwallowingErrors
String getRenderedContentWithoutSwallowingErrors(String templateContent, org.apache.velocity.context.Context context) throws Exception
- Throws:
Exception
- Since:
- 8.6.3
-
-