Class TextCompositeDefinition
java.lang.Object
com.aquima.interactions.composer.model.definition.TextNodeBase
com.aquima.interactions.composer.model.definition.TextCompositeDefinition
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TextConditionDefinition
,TextRootDefinition
,TextStyleDefinition
Base class for text nodes that can have child nodes.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextCompositeDefinition
(IParserFactory parser, ITextNodeDS datasource, String parentName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addChildNode
(TextNodeBase node) This method returns an array containing all the child text nodes of this composite node.boolean
This method returns a boolean indicating if the composite node has any child nodes defined.Methods inherited from class com.aquima.interactions.composer.model.definition.TextNodeBase
getType
-
Constructor Details
-
TextCompositeDefinition
-
-
Method Details
-
hasChildNodes
public boolean hasChildNodes()This method returns a boolean indicating if the composite node has any child nodes defined.- Returns:
- a boolean indicating if the composite node has any child nodes defined.
-
getChildNodes
This method returns an array containing all the child text nodes of this composite node.- Returns:
- an array containing all the child text nodes of this composite node.
-
addChildNode
-