Interface IComposerDS
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
ComposerDelegateDS
,ComposerDS
,ComposerDS
,ComposerDS
,ComposerDS
,ReportingComposerDS
,XmlComposerDS
,XmlComposerDS
This data source defines the methods needed to initialize a composer.
- Since:
- 7.0
- Author:
- Jon van Leuven
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
iterateContent
(IContentVisitor visitor) This method should iterate over all the elements that need to be available in the composer, and add them to the provided visitor.void
iterateStyles
(IContentStyleVisitor visitor) This method should iterate over all the styles that may be used in documents, and add them to the supplied visitor.Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Field Details
-
CATEGORY
Category that should be used when reporting errors or warnings that are encountered during initialization.
-
-
Method Details
-
iterateContent
This method should iterate over all the elements that need to be available in the composer, and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the elements to.- Throws:
InitializationException
- This exception is thrown when the elements could not be added.
-
iterateStyles
This method should iterate over all the styles that may be used in documents, and add them to the supplied visitor.Note: This method should be invoked before the iterateContent method, as the content depends on style definitions being present.
- Parameters:
visitor
- The visitor that should be used to add the style definitions to.- Throws:
InitializationException
- This exception is thrown when the style definitions could not be initialized due to a fatal error.
-