Class CommentNode
- java.lang.Object
-
- com.aquima.interactions.expressions.tsl.evaluator.nodes.CommentNode
-
-
Constructor Summary
Constructors Constructor Description CommentNode(String text)
Constructs the node with the comment text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.String
getText()
This method returns the comment text of the node.String
toString()
void
visit(ITslNodeVisitor visitor)
This method allows visitation of the node.
-
-
-
Constructor Detail
-
CommentNode
public CommentNode(String text)
Constructs the node with the comment text.- Parameters:
text
- The comment text of the node.
-
-
Method Detail
-
getText
public String getText()
This method returns the comment text of the node.- Returns:
- the comment text of the node.
-
expand
public void expand(IValueSource source, OutputBuffer output, ILanguage language)
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
public void visit(ITslNodeVisitor visitor)
Description copied from interface:ITslNode
This method allows visitation of the node. The visit method will not invoke the visitor for any child nodes.
-
-