Apache CXF API

org.apache.cxf.jaxb.attachment
Class JAXBAttachmentUnmarshaller

java.lang.Object
  extended by javax.xml.bind.attachment.AttachmentUnmarshaller
      extended by org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller

public class JAXBAttachmentUnmarshaller
extends AttachmentUnmarshaller


Constructor Summary
JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
           
 
Method Summary
 byte[] getAttachmentAsByteArray(String contentId)
           
 DataHandler getAttachmentAsDataHandler(String contentId)
           
 boolean isXOPPackage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBAttachmentUnmarshaller

public JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
Method Detail

getAttachmentAsDataHandler

public DataHandler getAttachmentAsDataHandler(String contentId)
Specified by:
getAttachmentAsDataHandler in class AttachmentUnmarshaller

getAttachmentAsByteArray

public byte[] getAttachmentAsByteArray(String contentId)
Specified by:
getAttachmentAsByteArray in class AttachmentUnmarshaller

isXOPPackage

public boolean isXOPPackage()
Overrides:
isXOPPackage in class AttachmentUnmarshaller

Apache CXF API

Apache CXF