Interface XMLAttachmentUnmarshaller

  • All Known Implementing Classes:
    AttachmentUnmarshallerAdapter

    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.

    See Also:
    XMLBinaryDataMapping, XMLAttachmentMarshaller
    • Method Detail

      • getAttachmentAsDataHandler

        javax.activation.DataHandler getAttachmentAsDataHandler​(java.lang.String id)
      • getAttachmentAsByteArray

        byte[] getAttachmentAsByteArray​(java.lang.String id)
      • isXOPPackage

        boolean isXOPPackage()