Common interface for all implementations of a conversion service, to be used during template execution.
Thymeleaf conversion services work in a way similar to Spring Framework's
ConversionService interface,
but this is a generic mechanism (not dependent on Spring).
Default implementation —registered by
org.thymeleaf.standard.StandardDialect—
is
StandardConversionService, which performs some standard conversions, but the
Spring Standard Dialect used by the Thymeleaf + Spring integration module automatically registers an implementation
of this interface that delegates on any existing Spring
ConversionService objects (thus using
the Converters and Formatters registered at the Spring Application Context).
Important: there is one conversion that implementations of this interface should
always implement, because it is heavily used at the Thymeleaf core: conversion of any Object to String.
The implementation of this interface that should be used is specified as an execution attribute
by the Standard Dialects (see
org.thymeleaf.standard.StandardDialect#getExecutionAttributes()).
Implementations of this interface should be thread-safe.