Module org.eclipse.persistence.core
Interface XMLAttachmentMarshaller
-
public interface XMLAttachmentMarshallerPurpose: Provides an interface through which EclipseLink can allow a user to do special handling for Binary Data. This is used for fields mapped using an XMLBinaryDataMapping to retrieve an id to be marshaled in place of the binary object. This id will be passed into an XMLAttachmentUnmarshaller when the document is unmarshalled to retrieve the original data. If isXOPPackage returns false, then no other methods on this interface will be called, and it will be assumed that all binary mapped fields should be inlined as base64.
- See Also:
XMLBinaryDataMapping,XMLAttachmentUnmarshaller
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaddMtomAttachment(byte[] data, int start, int length, String mimeType, String elementName, String namespace)StringaddMtomAttachment(jakarta.activation.DataHandler data, String elementName, String namespace)StringaddSwaRefAttachment(byte[] data, int start, int length)StringaddSwaRefAttachment(jakarta.activation.DataHandler data)booleanisXOPPackage()
-
-
-
Method Detail
-
addMtomAttachment
String addMtomAttachment(jakarta.activation.DataHandler data, String elementName, String namespace)
-
addSwaRefAttachment
String addSwaRefAttachment(jakarta.activation.DataHandler data)
-
addMtomAttachment
String addMtomAttachment(byte[] data, int start, int length, String mimeType, String elementName, String namespace)
-
addSwaRefAttachment
String addSwaRefAttachment(byte[] data, int start, int length)
-
isXOPPackage
boolean isXOPPackage()
-
-