Class NodeVisitor
java.lang.Object
com.aquima.interactions.composer.ds.delegate.NodeDelegateVisitor
com.aquima.interactions.portal.ds.sys.dialects.NodeVisitor
- All Implemented Interfaces:
INodeVisitor
Internal class to wrap the datasources to add dialect fallback behaviour for multilingual elements.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NodeVisitor
(INodeVisitor visitor, FallbackLanguages fallbackLanguages) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContent
(IReferenceDS reference, IContentDS datasource) This method may be used to add inline content to the current content node.void
addText
(IReferenceDS reference, ITextDS datasource) This method may be used to add inline content to the current content node.Methods inherited from class com.aquima.interactions.composer.ds.delegate.NodeDelegateVisitor
addContainerRef, addContentRef, addImageRef, addTextRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.composer.ds.INodeVisitor
addContainerRef, addContentRef, addImageRef, addTextRef
-
Constructor Details
-
Method Details
-
addContent
Description copied from interface:INodeVisitor
This method may be used to add inline content to the current content node.- Specified by:
addContent
in interfaceINodeVisitor
- Overrides:
addContent
in classNodeDelegateVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.datasource
- Data source providing the data needed to initialize the sub content.
-
addText
Description copied from interface:INodeVisitor
This method may be used to add inline content to the current content node.- Specified by:
addText
in interfaceINodeVisitor
- Overrides:
addText
in classNodeDelegateVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.datasource
- Data source providing the data needed to initialize the sub content.
-