@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,TYPE}) public @interface XmlInlineBinaryData
When XOP encoding is enabled as described in AttachmentMarshaller.isXOPPackage()
,
this annotation disables datatypes such as Image
or Source
or byte[]
that are bound to base64-encoded binary from being considered for
XOP encoding. If a Jakarta XML Binding property is annotated with this annotation or if
the Jakarta XML Binding property's base type is annotated with this annotation,
neither
AttachmentMarshaller.addMtomAttachment(DataHandler, String, String)
nor
AttachmentMarshaller.addMtomAttachment(byte[], int, int, String, String, String)
is
ever called for the property. The binary data will always be inlined.
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.