be.ehealth.technicalconnector.utils.impl

## Class AttachmentUnmarshallerImpl

- java.lang.Object
- - javax.xml.bind.attachment.AttachmentUnmarshaller
  - - be.ehealth.technicalconnector.utils.impl.AttachmentUnmarshallerImpl

-     public class AttachmentUnmarshallerImpl
      extends AttachmentUnmarshaller

  JAXB Unmarshaller that handles the attachments.

  Implementation of `AttachmentUnmarshaller`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AttachmentUnmarshallerImpl(boolean xop)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getAttachmentAsByteArray(String cid)`
    `DataHandler` | `getAttachmentAsDataHandler(String cid)`
    `Map<String,AttachmentPart>` | `getAttachmentPartMap()`
    `boolean` | `isXOPPackage()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AttachmentUnmarshallerImpl

          public AttachmentUnmarshallerImpl(boolean xop)

  - ### Method Detail

    - #### getAttachmentPartMap

          public Map<String,AttachmentPart> getAttachmentPartMap()

    - #### getAttachmentAsDataHandler

          public DataHandler getAttachmentAsDataHandler(String cid)

      Specified by:
        `getAttachmentAsDataHandler` in class `AttachmentUnmarshaller`

    - #### getAttachmentAsByteArray

          public byte[] getAttachmentAsByteArray(String cid)

      Specified by:
        `getAttachmentAsByteArray` in class `AttachmentUnmarshaller`

    - #### isXOPPackage

          public boolean isXOPPackage()

      Overrides:
        `isXOPPackage` in class `AttachmentUnmarshaller`

Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.