Interface TemplateConfig


public interface TemplateConfig
A Container for optional template collaborators for ease of wiring generated Templates.
Author:
agentgt
API Note
the default methods return null to indicate to the template constructor to use the static default collaborator and is the reason why TemplateInfo does not extend this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    A config with no provided collaborators.
    default @Nullable Function<String,String>
    The escaper to be used on the template.
    default @Nullable Function<@Nullable Object,String>
    The base formatter to be used on the template.