Package be.ehealth.technicalconnector.utils.impl

# Class AttachmentUnmarshallerImpl

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

public class AttachmentUnmarshallerImpl extends jakarta.xml.bind.attachment.AttachmentUnmarshaller
JAXB Unmarshaller that handles the attachments.

Implementation of `AttachmentUnmarshaller`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AttachmentUnmarshallerImpl(boolean xop)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getAttachmentAsByteArray(String cid)`
  `jakarta.activation.DataHandler`
  `getAttachmentAsDataHandler(String cid)`
  `Map<String,jakarta.xml.soap.AttachmentPart>`
  `getAttachmentPartMap()`
  `boolean`
  `isXOPPackage()`

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

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

- ## Constructor Details

  - ### AttachmentUnmarshallerImpl

    public AttachmentUnmarshallerImpl(boolean xop)

- ## Method Details

  - ### getAttachmentPartMap

    public Map<String,jakarta.xml.soap.AttachmentPart> getAttachmentPartMap()

  - ### getAttachmentAsDataHandler

    public jakarta.activation.DataHandler getAttachmentAsDataHandler(String cid)
    Specified by:
      `getAttachmentAsDataHandler` in class `jakarta.xml.bind.attachment.AttachmentUnmarshaller`

  - ### getAttachmentAsByteArray

    public byte[] getAttachmentAsByteArray(String cid)
    Specified by:
      `getAttachmentAsByteArray` in class `jakarta.xml.bind.attachment.AttachmentUnmarshaller`

  - ### isXOPPackage

    public boolean isXOPPackage()
    Overrides:
      `isXOPPackage` in class `jakarta.xml.bind.attachment.AttachmentUnmarshaller`