Module org.eclipse.persistence.dbws
Class SOAPAttachmentHandler
java.lang.Object
org.eclipse.persistence.internal.dbws.SOAPAttachmentHandler
- All Implemented Interfaces:
XMLAttachmentMarshaller
INTERNAL: implementation of EclipseLink XMLAttachmentMarshaller
implementation
handles binary attachments
- Since:
- EclipseLink 1.x
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMtomAttachment
(byte[] data, int start, int len, String mimeType, String elementName, String namespace) addMtomAttachment
(DataHandler data, String elementName, String namespace) addSwaRefAttachment
(byte[] data, int start, int length) boolean
boolean
-
Constructor Details
-
SOAPAttachmentHandler
public SOAPAttachmentHandler()
-
-
Method Details
-
hasAttachments
public boolean hasAttachments() -
getAttachments
-
addSwaRefAttachment
- Specified by:
addSwaRefAttachment
in interfaceXMLAttachmentMarshaller
-
addSwaRefAttachment
- Specified by:
addSwaRefAttachment
in interfaceXMLAttachmentMarshaller
-
addMtomAttachment
- Specified by:
addMtomAttachment
in interfaceXMLAttachmentMarshaller
-
addMtomAttachment
public String addMtomAttachment(byte[] data, int start, int len, String mimeType, String elementName, String namespace) - Specified by:
addMtomAttachment
in interfaceXMLAttachmentMarshaller
-
isXOPPackage
public boolean isXOPPackage()- Specified by:
isXOPPackage
in interfaceXMLAttachmentMarshaller
-