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.
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 TypeMethodDescriptionvoidcustomizeFreeMarkerVariables(Map<String, Object> variables) Customize thevariablesto be set as well-known FreeMarker objects.
-
Method Details
-
customizeFreeMarkerVariables
Customize thevariablesto be set as well-known FreeMarker objects.- Parameters:
variables- the variables to customize- See Also:
-
FreeMarkerConfigurationFactory.setFreemarkerVariables(Map)
-