Package io.quarkus.qute
Interface SectionHelperFactory.BlockInfo
-
- All Superinterfaces:
ErrorInitializer,SectionHelperFactory.ParserDelegate,WithOrigin
- Enclosing interface:
- SectionHelperFactory<T extends SectionHelper>
public static interface SectionHelperFactory.BlockInfo extends SectionHelperFactory.ParserDelegate, WithOrigin
-
-
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.ErrorInitializer
error
-
Methods inherited from interface io.quarkus.qute.SectionHelperFactory.ParserDelegate
createParserError
-
Methods inherited from interface io.quarkus.qute.WithOrigin
getOrigin
-
-
-
-
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.The origin of the returned expression is the origin of the containing block.
- Parameters:
param-value-- Returns:
- a new expression
- See Also:
SectionHelperFactory.SectionInitContext.getExpression(String)
-
-