be.ehealth.technicalconnector.utils.impl
Class AttachmentUnmarshallerImpl

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

public class AttachmentUnmarshallerImpl
extends AttachmentUnmarshaller

JAXB Unmarshaller that handles the attachments. Implementation of AttachmentUnmarshaller


Constructor Summary
AttachmentUnmarshallerImpl(boolean xop)
           
 
Method Summary
 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 PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.