public interface XMLAttachmentUnmarshaller
Purpose: 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 the binary data during an unmarshal based on a swaRef or MTOM id. If isXOPPackage returns false, then no other methods on this interface will be called, and it will be assumed that all binary mapped fields have been inlined as base64.
XMLBinaryDataMapping
,
XMLAttachmentMarshaller
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttachmentAsByteArray(java.lang.String id) |
javax.activation.DataHandler |
getAttachmentAsDataHandler(java.lang.String id) |
boolean |
isXOPPackage() |