Package org.apache.cxf.jaxb.attachment
Class JAXBAttachmentUnmarshaller
- java.lang.Object
-
- javax.xml.bind.attachment.AttachmentUnmarshaller
-
- org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller
-
public class JAXBAttachmentUnmarshaller extends javax.xml.bind.attachment.AttachmentUnmarshaller
-
-
Constructor Summary
Constructors Constructor Description JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getAttachmentAsByteArray(String contentId)javax.activation.DataHandlergetAttachmentAsDataHandler(String contentId)booleanisXOPPackage()
-
-
-
Constructor Detail
-
JAXBAttachmentUnmarshaller
public JAXBAttachmentUnmarshaller(Collection<Attachment> attachments)
-
-
Method Detail
-
getAttachmentAsDataHandler
public javax.activation.DataHandler getAttachmentAsDataHandler(String contentId)
- Specified by:
getAttachmentAsDataHandlerin classjavax.xml.bind.attachment.AttachmentUnmarshaller
-
getAttachmentAsByteArray
public byte[] getAttachmentAsByteArray(String contentId)
- Specified by:
getAttachmentAsByteArrayin classjavax.xml.bind.attachment.AttachmentUnmarshaller
-
isXOPPackage
public boolean isXOPPackage()
- Overrides:
isXOPPackagein classjavax.xml.bind.attachment.AttachmentUnmarshaller
-
-