Class ReportingComposerDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.report.ReportingComposerDS
All Implemented Interfaces:
IComposerDS, IReportingDS

public class ReportingComposerDS extends ReportingDS implements IComposerDS
IComposerDS implementation that adds error reporting.
Since:
7.0
Author:
Jon van Leuven
  • Constructor Details

    • ReportingComposerDS

      public ReportingComposerDS(IInitializationReport report, IComposerDS datasource)
      Constructs the composer data source with the required parameters.
      Parameters:
      report - The initialization report to add error/warning to.
      datasource - The data source that is wrapped by this data source.
  • Method Details

    • iterateContent

      public void iterateContent(IContentVisitor visitor)
      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 interface IComposerDS
      Parameters:
      visitor - The visitor that should be used to add the elements to.
    • iterateStyles

      public void iterateStyles(IContentStyleVisitor visitor)
      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 interface IComposerDS
      Parameters:
      visitor - The visitor that should be used to add the style definitions to.