Class Template

    • Field Detail

      • templateName

        @Nonnull
        @NotEmpty
        private final String templateName
        The name of the template to be evaluated.
      • templateEncoding

        @Nonnull
        @NotEmpty
        private final String templateEncoding
        The character encoding of the template.
    • Constructor Detail

      • Template

        private Template​(@Nonnull
                         VelocityEngine velocityEngine,
                         @Nonnull @NotEmpty
                         String velocityTemplateName,
                         @Nonnull
                         String velocityTemplateEncoding)
        Constructor.
        Parameters:
        velocityEngine - engine used to evaluate the template
        velocityTemplateName - name of the template to be evaluated
        velocityTemplateEncoding - encoding used by the template