java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.r17.parsing.XmlImageDS
All Implemented Interfaces:
IElementDS, IImageDS, IReportingDS

public class XmlImageDS extends ReportingDS implements IImageDS
Xml datasource implementation.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getImageData

      public byte[] getImageData()
      Specified by:
      getImageData in interface IImageDS
      Returns:
      Byte array containing the image, it might be null.
    • getName

      public String getName()
      Description copied from interface: IElementDS
      This method returns the (unique) name of the element. The name is required when adding the content as a definition to the composer, but it is optional when the element is added directly as inline sub-content.
      Specified by:
      getName in interface IElementDS
      Returns:
      the (unique) name of the element.
    • getPresentationStyles

      public String[] getPresentationStyles()
      Description copied from interface: IElementDS
      This method returns the presentation styles that should be used when including the content element that is referred to.
      Specified by:
      getPresentationStyles in interface IElementDS
      Returns:
      the presentation styles that should be used when including the content element that is referred to.
    • getImageType

      public ImageType getImageType()
      Specified by:
      getImageType in interface IImageDS
      Returns:
      Image type (Jpeg/SVG/etc), it might be null.
    • getImageContentType

      public ImageContentType getImageContentType()
      Specified by:
      getImageContentType in interface IImageDS
      Returns:
      Image content type, never null.
    • getQRCodeContent

      public String getQRCodeContent()
      Specified by:
      getQRCodeContent in interface IImageDS
      Returns:
      String containing the QR code content, it might be null.