Interface ParserHelper


  • public interface ParserHelper
    See Also:
    ParserHook
    • Method Detail

      • getTemplateId

        String getTemplateId()
        Returns:
        the template id
      • addParameter

        void addParameter​(String name,
                          String type)
        Adds an implicit parameter declaration. This an alternative approach to explicit parameter declarations used directly in the templates, e.g. .
        Parameters:
        name -
        type -
      • addContentFilter

        void addContentFilter​(Function<String,​String> filter)
        The filter is used before the template contents is parsed.
        Parameters:
        filter -