public class JAXBAttachmentUnmarshaller extends AttachmentUnmarshaller
Constructor and Description |
---|
JAXBAttachmentUnmarshaller(Collection<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttachmentAsByteArray(String contentId) |
DataHandler |
getAttachmentAsDataHandler(String contentId) |
boolean |
isXOPPackage() |
public JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
public DataHandler getAttachmentAsDataHandler(String contentId)
getAttachmentAsDataHandler
in class AttachmentUnmarshaller
public byte[] getAttachmentAsByteArray(String contentId)
getAttachmentAsByteArray
in class AttachmentUnmarshaller
public boolean isXOPPackage()
isXOPPackage
in class AttachmentUnmarshaller
Apache CXF