Class ReportingNodeVisitor
java.lang.Object
com.aquima.interactions.foundation.report.ReportingVisitorDS
com.aquima.interactions.composer.report.ReportingNodeVisitor
- All Implemented Interfaces:
INodeVisitor
INodeVisitor implementation that adds error reporting.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReportingNodeVisitor
(IInitializationReport report, INodeVisitor visitor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContainerRef
(IReferenceDS reference, String name) This method may be used to add a container reference to an existing container element to the current content node.void
addContent
(IReferenceDS reference, IContentDS datasource) This method may be used to add inline content to the current content node.void
addContentRef
(IReferenceDS reference, String name) This method may be used to a reference to an existing content element to the current content node.void
addImageRef
(IReferenceDS reference, String name) This method may be used to add an image reference to an existing image element 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.void
addTextRef
(IReferenceDS reference, String name) This method may be used to add a reference to an existing text element to the current content node.Methods inherited from class com.aquima.interactions.foundation.report.ReportingVisitorDS
addError, addMessage, beginScope, endScope, getCategory, getReport
-
Constructor Details
-
ReportingNodeVisitor
-
-
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
- 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.
-
addContentRef
Description copied from interface:INodeVisitor
This method may be used to a reference to an existing content element to the current content node.- Specified by:
addContentRef
in interfaceINodeVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.name
- The name of the content item that should be included as sub content.
-
addImageRef
Description copied from interface:INodeVisitor
This method may be used to add an image reference to an existing image element to the current content node.- Specified by:
addImageRef
in interfaceINodeVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.name
- The name of the image element that should be included as 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
- 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.
-
addTextRef
Description copied from interface:INodeVisitor
This method may be used to add a reference to an existing text element to the current content node.- Specified by:
addTextRef
in interfaceINodeVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.name
- The name of the text element that should be included as sub content.
-
addContainerRef
Description copied from interface:INodeVisitor
This method may be used to add a container reference to an existing container element to the current content node.- Specified by:
addContainerRef
in interfaceINodeVisitor
- Parameters:
reference
- Data source providing information specific for the relation between the parent content and the sub content that is added.name
- The name of the container element that should be included as sub content.
-