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 AttachmentMarshaller
public String addMtomAttachment(DataHandler handler, String elementNS, String elementLocalName)
addMtomAttachment
in class AttachmentMarshaller
public String addSwaRefAttachment(DataHandler handler)
addSwaRefAttachment
in class AttachmentMarshaller
public boolean isXOPPackage()
isXOPPackage
in class AttachmentMarshaller
Apache CXF