Class TslText
java.lang.Object
com.aquima.interactions.expressions.TslText
This class contains a parsed TSL text.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TslText
Constructs the TSL text with the parse node.- Parameters:
node
- The parsed TSL node.
-
-
Method Details
-
getNode
This method returns the parse node for the TSL text.- Returns:
- the parse node for the TSL text.
-
expand
This method evaluates the TSL text with the provided parameters.- Parameters:
source
- Object containing the current state.language
- The language for which the text should be evaluated.- Returns:
- String containing the result of the evaluation.
- Throws:
ExpressionException
- This exception is thrown when the text could not be evaluated.
-
toString
-