Class ContainmentVisitor
java.lang.Object
com.aquima.interactions.composer.ds.delegate.ContainmentDelegateVisitor
com.aquima.interactions.portal.ds.sys.dialects.ContainmentVisitor
- All Implemented Interfaces:
IContainmentVisitor
public final class ContainmentVisitor
extends ContainmentDelegateVisitor
implements IContainmentVisitor
Internal class to wrap the datasources to add dialect fallback behaviour for multilingual elements.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionContainmentVisitor
(IContainmentVisitor visitor, FallbackLanguages fallbackLanguages) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainer
(IReferenceDS reference, IContainerDS container) This method may be used to add an inline container to the container.void
addField
(IReferenceDS reference, IFieldDS field) This method may be used to add a field to the container.void
addReference
(IReferenceDS datasource, String name) This method may be used to add a containment to the container.
-
Constructor Details
-
ContainmentVisitor
-
-
Method Details
-
addField
Description copied from interface:IContainmentVisitor
This method may be used to add a field to the container.- Specified by:
addField
in interfaceIContainmentVisitor
- Overrides:
addField
in classContainmentDelegateVisitor
- Parameters:
reference
- Data source providing the information about the relation.field
- Data source providing the field specific information.
-
addContainer
Description copied from interface:IContainmentVisitor
This method may be used to add an inline container to the container.- Specified by:
addContainer
in interfaceIContainmentVisitor
- Overrides:
addContainer
in classContainmentDelegateVisitor
- Parameters:
reference
- Data source providing the information about the relation.container
- Data source providing the container specific information.
-
addReference
Description copied from interface:IContainmentVisitor
This method may be used to add a containment to the container.- Specified by:
addReference
in interfaceIContainmentVisitor
- Overrides:
addReference
in classContainmentDelegateVisitor
- Parameters:
datasource
- Data source providing the information about the relation.name
- The name of the element that should be included as content.
-