Interface ISpringTemplateEngine

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setTemplateEngineMessageSource​(org.springframework.context.MessageSource templateEngineMessageSource)
      Sets the Spring MessageSource to be used for this template engine.
      • Methods inherited from interface org.thymeleaf.ITemplateEngine

        getConfiguration, process, process, process, process, process, process, processThrottled, processThrottled, processThrottled
    • Method Detail

      • setTemplateEngineMessageSource

        void setTemplateEngineMessageSource​(org.springframework.context.MessageSource templateEngineMessageSource)

        Sets the Spring MessageSource to be used for this template engine.

        Note that the SpringTemplateEngine implementation will allow this to be set automatically by implementing the MessageSourceAware interface, but in such case this method will allow to override this mechanism if needed.

        Parameters:
        templateEngineMessageSource - the message source to be used by the message resolver.