Class TextNode
java.lang.Object
com.aquima.interactions.expressions.tsl.evaluator.nodes.TextNode
- All Implemented Interfaces:
ITslNode
TSL node representing (static) text.
- Since:
- 6.4
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
expand
(IValueSource source, OutputBuffer output, ILanguage language) The expand method should evaluate the node for the given language, and append the result to the output buffer supplied.getText()
This method returns the text of the node.toString()
void
visit
(ITslNodeVisitor visitor) This method allows visitation of the node.
-
Constructor Details
-
TextNode
Constructs the node with the text.- Parameters:
text
- The (static) text of the node.
-
-
Method Details
-
getText
This method returns the text of the node.- Returns:
- the text of the node.
-
expand
Description copied from interface:ITslNode
The expand method should evaluate the node for the given language, and append the result to the output buffer supplied. When the node also contains child elements, this expand method should invoke the child elements too. -
visit
Description copied from interface:ITslNode
This method allows visitation of the node. The visit method will not invoke the visitor for any child nodes. -
toString
-