public class JAXBAttachmentMarshaller extends AttachmentMarshaller
| Constructor and Description |
|---|
JAXBAttachmentMarshaller(Collection<Attachment> attachments,
Integer mtomThreshold) |
| Modifier and Type | Method and Description |
|---|---|
String |
addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNS,
String elementLocalName) |
String |
addMtomAttachment(DataHandler handler,
String elementNS,
String elementLocalName) |
String |
addSwaRefAttachment(DataHandler handler) |
boolean |
isXOPPackage() |
public JAXBAttachmentMarshaller(Collection<Attachment> attachments, Integer mtomThreshold)
public String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNS, String elementLocalName)
addMtomAttachment in class AttachmentMarshallerpublic String addMtomAttachment(DataHandler handler, String elementNS, String elementLocalName)
addMtomAttachment in class AttachmentMarshallerpublic String addSwaRefAttachment(DataHandler handler)
addSwaRefAttachment in class AttachmentMarshallerpublic boolean isXOPPackage()
isXOPPackage in class AttachmentMarshallerApache CXF