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 TypeMethodDescriptionconvertValue(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
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 convertimageResolver- the image resolver- Returns:
- the converted object
-