Package io.quarkus.qute
Interface ParserHelper
-
public interface ParserHelper- See Also:
ParserHook
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContentFilter(Function<String,String> filter)The filter is used before the template contents is parsed.voidaddParameter(String name, String type)Adds an implicit parameter declaration.StringgetTemplateId()
-
-
-
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-
-
-