Top Description Methods
org.eclipse.persistence.oxm.attachment

public Interface XMLAttachmentUnmarshaller

Imports
jakarta.activation.DataHandler

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
org.eclipse.persistence.oxm.mappings.XMLBinaryDataMapping, XMLAttachmentMarshaller

Method Summary

Modifier and TypeMethod and Description
public byte[]
public DataHandler
public boolean

Method Detail

getAttachmentAsByteArrayback to summary
public byte[] getAttachmentAsByteArray(String id)
getAttachmentAsDataHandlerback to summary
public DataHandler getAttachmentAsDataHandler(String id)
isXOPPackageback to summary
public boolean isXOPPackage()