Package io.quarkus.qute
Interface ParserHelper
public interface ParserHelper
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentFilter(Function<String, String> filter) The filter is used before the template contents is parsed.voidaddParameter(String name, String type) Adds an implicit parameter declaration.
-
Method Details
-
getTemplateId
String getTemplateId()- Returns:
- the template id
-
addParameter
Adds an implicit parameter declaration. This is an alternative approach to explicit parameter declarations used directly in the templates, e.g..- Parameters:
name-type-
-
addContentFilter
The filter is used before the template contents is parsed.- Parameters:
filter-
-