java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.parsing.XmlComposerDS
All Implemented Interfaces:
IComposerDS, IReportingDS

public class XmlComposerDS extends ReportingDS implements IComposerDS
Release 8.x implementation of the composer data source from XML created by ComposerXml.
Since:
7.2
Author:
Jon van Leuven
See Also:
  • Constructor Details

  • Method Details

    • iterateContent

      public void iterateContent(IContentVisitor visitor) throws InitializationException
      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.
      Throws:
      InitializationException - This exception is thrown when the elements could not be added.
    • iterateStyles

      public void iterateStyles(IContentStyleVisitor visitor) throws InitializationException
      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.
      Throws:
      InitializationException - This exception is thrown when the style definitions could not be initialized due to a fatal error.