FileDocCategorySizeDatePackage
XmlInlineBinaryData.javaAPI DocJava SE 6 API1551Tue Jun 10 00:27:04 BST 2008javax.xml.bind.annotation

XmlInlineBinaryData

public class XmlInlineBinaryData
Disable consideration of XOP encoding for datatypes that are bound to base64-encoded binary data in XML.

When XOP encoding is enabled as described in {@link AttachmentMarshaller#isXOPPackage()}, this annotation disables datatypes such as {@link Image} or {@link Source} or byte[] that are bound to base64-encoded binary from being considered for XOP encoding. If a JAXB property is annotated with this annotation or if the JAXB property's base type is annotated with this annotation, neither {@link AttachmentMarshaller#addMtomAttachment(DataHandler, String, String)} nor {@link AttachmentMarshaller#addMtomAttachment(byte[], int, int, String, String, String)} is ever called for the property. The binary data will always be inlined.

author
Joseph Fialli
since
JAXB2.0

Fields Summary
Constructors Summary
Methods Summary