Interface VelocityHelperService

All Known Implementing Classes:
DefaultVelocityHelperService

public interface VelocityHelperService
  • Method Details

    • getRenderedTemplate

      String getRenderedTemplate(String templateName, Map<String,Object> context)
    • 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
    • createDefaultVelocityContext

      Map<String,Object> createDefaultVelocityContext()