Interface TemplateValueConverter

All Known Implementing Classes:
FreeMarkerProcessor

public interface TemplateValueConverter
A service capable of converting Java objects for use within a template.
Author:
dward
  • Method Summary

    Modifier and Type
    Method
    Description
    convertValue(Object value, TemplateImageResolver imageResolver)
    Converts a Java object (e.g. one produced by a method call) to one suitable for use within a template.
  • Method Details

    • convertValue

      Object convertValue(Object value, TemplateImageResolver imageResolver)
      Converts a Java object (e.g. one produced by a method call) to one suitable for use within a template.
      Parameters:
      value - the Java object to convert
      imageResolver - the image resolver
      Returns:
      the converted object