java.lang.Object
io.quarkus.qute.ResultNode
io.quarkus.qute.TextNode
- All Implemented Interfaces:
TemplateNode
- Direct Known Subclasses:
LineSeparatorNode
Static text.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.qute.TemplateNode
TemplateNode.Kind, TemplateNode.Origin -
Field Summary
Fields inherited from class io.quarkus.qute.ResultNode
NOOP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.qute.TemplateNode
asExpression, asParamDeclaration, asSection, getExpressions, getParameterDeclarations, isExpression, isSection, isText
-
Constructor Details
-
TextNode
-
-
Method Details
-
resolve
- Specified by:
resolvein interfaceTemplateNode- Parameters:
context-- Returns:
- the result node
-
getOrigin
- Specified by:
getOriginin interfaceTemplateNode- Returns:
- the origin of the node
-
kind
Description copied from interface:TemplateNodeReturns the kind of this node.Note that comments and line separators are never preserved in the parsed template tree.
- Specified by:
kindin interfaceTemplateNode- Returns:
- the kind
-
isConstant
public boolean isConstant()Description copied from interface:TemplateNodeConstant means a static text or a literal output expression.- Specified by:
isConstantin interfaceTemplateNode- Returns:
trueif the node represents a constant- See Also:
-
getValue
-
process
- Specified by:
processin classResultNode- Parameters:
consumer-
-
asText
- Specified by:
asTextin interfaceTemplateNode
-
toString
-