Interface FreeMarkerVariablesCustomizer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FreeMarkerVariablesCustomizer
Callback interface that can be implemented by beans wishing to customize the FreeMarker variables used as shared variables before it is used by an auto-configured FreeMarkerConfigurationFactory.
Since:
3.4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Customize the variables to be set as well-known FreeMarker objects.
  • Method Details

    • customizeFreeMarkerVariables

      void customizeFreeMarkerVariables(Map<String,Object> variables)
      Customize the variables to be set as well-known FreeMarker objects.
      Parameters:
      variables - the variables to customize
      See Also:
      • FreeMarkerConfigurationFactory.setFreemarkerVariables(Map)