Class XmlExportR12

java.lang.Object
com.aquima.interactions.ds.xml.r12.XmlExportR12
All Implemented Interfaces:
IXmlExportData

@Deprecated(forRemoval=true) public class XmlExportR12 extends Object implements IXmlExportData
Deprecated, for removal: This API element is subject to removal in a future version.
use com.aquima.interactions.ds.xml.r17.XmlExportR12

Class for reading an R12 Export from xml or a resource. Supported resource types are xml and zip.

Note: Do not keep this class in memory since in memory since an export can be large.

Will be removed in R19

Since:
12.0
Author:
Danny Roest, Vincent Jansen
  • Constructor Summary

    Constructors
    Constructor
    Description
    XmlExportR12(byte[] xmlBytes)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method returns the (decrypted) xml node containing all export data.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the metadata of the export.
    static boolean
    isSupportedVersion(Version formatVersion)
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method returns true if the provided export format version is supported by this parser.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlExportR12

      public XmlExportR12(byte[] xmlBytes)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isSupportedVersion

      public static boolean isSupportedVersion(Version formatVersion)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method returns true if the provided export format version is supported by this parser.
      Parameters:
      formatVersion - The format version
      Returns:
      Boolean indicating if the format version is supported.
    • getExportXmlNode

      public IXmlNode getExportXmlNode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method returns the (decrypted) xml node containing all export data.
      Specified by:
      getExportXmlNode in interface IXmlExportData
      Returns:
      The xml node containing the export data, will never be null.
    • getMetadata

      public XmlExportMetadataR12 getMetadata()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the metadata of the export.
      Returns:
      the metadata of the export