Package io.quarkus.qute
Interface SectionHelperFactory.BlockInfo
-
- All Superinterfaces:
SectionHelperFactory.ParserDelegate
- Enclosing interface:
- SectionHelperFactory<T extends SectionHelper>
public static interface SectionHelperFactory.BlockInfo extends SectionHelperFactory.ParserDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExpressionaddExpression(String param, String value)Parse and register an expression for the specified parameter.StringgetLabel()default StringgetParameter(String name)Map<String,String>getParameters()Undeclared params with default values are included.default booleanhasParameter(String name)-
Methods inherited from interface io.quarkus.qute.SectionHelperFactory.ParserDelegate
createParserError
-
-
-
-
Method Detail
-
getLabel
String getLabel()
-
getParameters
Map<String,String> getParameters()
Undeclared params with default values are included.- Returns:
- the map of parameters
-
hasParameter
default boolean hasParameter(String name)
-
addExpression
Expression addExpression(String param, String value)
Parse and register an expression for the specified parameter.A registered expression contributes to the
Template.getExpressions(), i.e. can be validated at build time.- Parameters:
param-value-- Returns:
- a new expression
- See Also:
SectionHelperFactory.SectionInitContext.getExpression(String)
-
-