Class TextNodeTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.TextNodeTemplate
This template represents a text node from a text template.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextNodeTemplate
(com.aquima.interactions.composer.ds.TextNodeType type, String strValue, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method may be used to add a field to the current text node.void
This method may be used to add a field to the current text node.This method may be used to add a style node to the text.void
This method may be used to add a sub node to the current text node.protected Iterator
<TextNodeTemplate> protected String
protected com.aquima.interactions.composer.ds.TextNodeType
getType()
protected String
getValue()
protected void
com.aquima.interactions.composer.ds.ITextNodeDS
This method converts the node template to a data source.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
TextNodeTemplate
protected TextNodeTemplate(com.aquima.interactions.composer.ds.TextNodeType type, String strValue, com.aquima.interactions.foundation.report.IInitializationReport report)
-
-
Method Details
-
getType
protected com.aquima.interactions.composer.ds.TextNodeType getType() -
getValue
-
setMask
-
getMaskCallName
-
addText
This method may be used to add a sub node to the current text node.- Parameters:
text
- The text that should be added as sub node.
-
addStyle
This method may be used to add a style node to the text.- Parameters:
name
- The name of the style.- Returns:
- Template representing the text node with a style.
-
addField
This method may be used to add a field to the current text node.- Parameters:
expression
- The expression for the field.
-
addField
This method may be used to add a field to the current text node.- Parameters:
expression
- The expression for the field.maskTypeName
- The mask type name for this field.
-
getChildNodes
-
toDataSource
public com.aquima.interactions.composer.ds.ITextNodeDS toDataSource()This method converts the node template to a data source.- Returns:
- Data source for the node template.
-