@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,TYPE}) public @interface XmlInlineBinaryData
当启用了XOP编码中所描述的AttachmentMarshaller.isXOPPackage()
,这个注释禁用数据类型如Image
或Source
或byte[]被绑定到base64编码的二进制被XOP编码。如果一个属性是注释的注释JAXB或者JAXB物业的基本类型有这个注释,也不AttachmentMarshaller.addMtomAttachment(DataHandler, String, String)
AttachmentMarshaller.addMtomAttachment(byte[], int, int, String, String, String)
永远是对物业的要求。二进制数据会被内联。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.