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 javax.xml.bind.attachment.AttachmentUnmarshaller


Constructor Summary
JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
           
 
Method Summary
 byte[] getAttachmentAsByteArray(String contentId)
           
 javax.activation.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 javax.activation.DataHandler getAttachmentAsDataHandler(String contentId)
Specified by:
getAttachmentAsDataHandler in class javax.xml.bind.attachment.AttachmentUnmarshaller

getAttachmentAsByteArray

public byte[] getAttachmentAsByteArray(String contentId)
Specified by:
getAttachmentAsByteArray in class javax.xml.bind.attachment.AttachmentUnmarshaller

isXOPPackage

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


Apache CXF