Class XmlComposerDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.parsing.XmlComposerDS
- All Implemented Interfaces:
IComposerDS
,IReportingDS
Release 8.x implementation of the composer data source from XML created by ComposerXml.
- Since:
- 7.2
- Author:
- Jon van Leuven
- See Also:
-
Field Summary
Fields inherited from interface com.aquima.interactions.composer.ds.IComposerDS
CATEGORY
-
Constructor Summary
Constructors -
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 class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
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.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlComposerDS
-
-
Method Details
-
iterateContent
Description copied from interface:IComposerDS
This method should iterate over all the elements that need to be available in the composer, and add them to the provided visitor.- Specified by:
iterateContent
in interfaceIComposerDS
- 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
Description copied from interface:IComposerDS
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.
- Specified by:
iterateStyles
in interfaceIComposerDS
- 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.
-