Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## javax.xml.bind.annotation
Annotation Type XmlInlineBinaryData

    @Retention(value=RUNTIME)
    @Target(value={FIELD,METHOD,TYPE})
    public @interface 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 `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 JAXB property is annotated with this annotation or if the JAXB 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.

Since:
  JAXB2.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.