Package io.quarkus.qute
Class ParameterDeclarationNode
java.lang.Object
io.quarkus.qute.ParameterDeclarationNode
- All Implemented Interfaces:
ParameterDeclaration,TemplateNode
Template parameter declaration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.qute.TemplateNode
TemplateNode.Origin -
Constructor Summary
ConstructorsConstructorDescriptionParameterDeclarationNode(String typeInfo, String key, Expression defaultValue, TemplateNode.Origin origin) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()The key forisfoo.Returns the parameter declarations defined in this template node.The type info foris|org.acme.Foo|.resolve(ResolutionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.qute.TemplateNode
getExpressions, isConstant, isSection
-
Constructor Details
-
ParameterDeclarationNode
public ParameterDeclarationNode(String typeInfo, String key, Expression defaultValue, TemplateNode.Origin origin)
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceTemplateNode- Returns:
- the result node
-
getTypeInfo
Description copied from interface:ParameterDeclarationThe type info foris|org.acme.Foo|.- Specified by:
getTypeInfoin interfaceParameterDeclaration- Returns:
- the unparsed type info
- See Also:
-
getKey
Description copied from interface:ParameterDeclarationThe key forisfoo.- Specified by:
getKeyin interfaceParameterDeclaration- Returns:
- the key
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceParameterDeclaration- Returns:
- the default value or
nullif no default value is set
-
getOrigin
- Specified by:
getOriginin interfaceParameterDeclaration- Specified by:
getOriginin interfaceTemplateNode- Returns:
- the origin of the node
-
getParameterDeclarations
Description copied from interface:TemplateNodeReturns the parameter declarations defined in this template node.- Specified by:
getParameterDeclarationsin interfaceTemplateNode- Returns:
- a list of param declarations
-