Class XmlExport

java.lang.Object
com.aquima.interactions.ds.export.r17.XmlExport

public final class XmlExport extends Object
Class for creating an export
Since:
17.1
  • Method Details

    • create

      public static XmlExport create(IDatasourceXml exportData, boolean encrypt)
      Creates an ExportXml with the specified metaData.
      Parameters:
      exportData - the data for the export.
      encrypt - if the data should be encrypted
      Returns:
      an ExportXml
    • writeXml

      public void writeXml(OutputStream result, IResource privateCertificate) throws IOException
      Writes the export to a stream.
      Parameters:
      result - The destination output stream.
      privateCertificate - the private certificate that is used for signing.
      Throws:
      IOException - When the export failed writing.