public class SOAPAttachmentHandler extends Object implements XMLAttachmentMarshaller
INTERNAL: implementation of EclipseLink XMLAttachmentMarshaller
implementation
handles binary attachments
Constructor and Description |
---|
SOAPAttachmentHandler() |
Modifier and Type | Method and Description |
---|---|
String |
addMtomAttachment(byte[] data,
int start,
int len,
String mimeType,
String elementName,
String namespace) |
String |
addMtomAttachment(DataHandler data,
String elementName,
String namespace) |
String |
addSwaRefAttachment(byte[] data,
int start,
int length) |
String |
addSwaRefAttachment(DataHandler data) |
Map<String,DataHandler> |
getAttachments() |
boolean |
hasAttachments() |
boolean |
isXOPPackage() |
public boolean hasAttachments()
public Map<String,DataHandler> getAttachments()
public String addSwaRefAttachment(DataHandler data)
addSwaRefAttachment
in interface XMLAttachmentMarshaller
public String addSwaRefAttachment(byte[] data, int start, int length)
addSwaRefAttachment
in interface XMLAttachmentMarshaller
public String addMtomAttachment(DataHandler data, String elementName, String namespace)
addMtomAttachment
in interface XMLAttachmentMarshaller
public String addMtomAttachment(byte[] data, int start, int len, String mimeType, String elementName, String namespace)
addMtomAttachment
in interface XMLAttachmentMarshaller
public boolean isXOPPackage()
isXOPPackage
in interface XMLAttachmentMarshaller
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference