Class TextNodeVisitor
java.lang.Object
com.aquima.interactions.composer.model.definition.TextNodeVisitor
- All Implemented Interfaces:
ITextNodeVisitor
This visitor is used during initialization to add child text nodes to a composite text node.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextNodeVisitor
(IParserFactory parser, TextCompositeDefinition textCompositeDefinition, String parentName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNode
(ITextNodeDS datasource) This method should be invoked to add a child text node to the current text node.
-
Constructor Details
-
TextNodeVisitor
protected TextNodeVisitor(IParserFactory parser, TextCompositeDefinition textCompositeDefinition, String parentName)
-
-
Method Details
-
addNode
Description copied from interface:ITextNodeVisitor
This method should be invoked to add a child text node to the current text node. The order in which the nodes are added is important, as it defines the order in which the text nodes will be shown/expanded.- Specified by:
addNode
in interfaceITextNodeVisitor
- Parameters:
datasource
- The data source providing the information for the child text node.
-