Subclass of {@link TemplateEngine} meant for Spring MVC applications,that establishes by default an instance of {@link SpringStandardDialect} as a dialect (instead of an instance of {@link org.thymeleaf.standard.StandardDialect}, which is the default in {@link TemplateEngine}.
It also configures a {@link SpringMessageResolver} as message resolver, andimplements the {@link MessageSourceAware} interface in order to let Spring automatically setting the {@link MessageSource} used at the application(bean needs to have id "messageSource"). If this Spring standard setting needs to be overridden, the {@link #setTemplateEngineMessageSource(MessageSource)} canbe used.
Note that this class will validate during initialization that at least one of the configured dialects is {@link SpringStandardDialect} or a subclass of it.
@author Daniel Fernández
@since 1.0