src/share/jaxws_classes/javax/xml/bind/annotation/XmlInlineBinaryData.java

changeset 368
0989ad8c0860
parent 286
f50545b5e2f1
child 637
9c07ef4934dd
equal deleted inserted replaced
366:8c0b6bccfe47 368:0989ad8c0860
1 /* 1 /*
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
25 25
26 package javax.xml.bind.annotation; 26 package javax.xml.bind.annotation;
27 27
28 import java.lang.annotation.Retention; 28 import java.lang.annotation.Retention;
29 import java.lang.annotation.Target; 29 import java.lang.annotation.Target;
30 import java.awt.*;
31 import static java.lang.annotation.RetentionPolicy.RUNTIME; 30 import static java.lang.annotation.RetentionPolicy.RUNTIME;
32 import static java.lang.annotation.ElementType.FIELD; 31 import static java.lang.annotation.ElementType.FIELD;
33 import static java.lang.annotation.ElementType.METHOD; 32 import static java.lang.annotation.ElementType.METHOD;
34 import static java.lang.annotation.ElementType.TYPE; 33 import static java.lang.annotation.ElementType.TYPE;
35 34
40 /** 39 /**
41 * Disable consideration of XOP encoding for datatypes that are bound to 40 * Disable consideration of XOP encoding for datatypes that are bound to
42 * base64-encoded binary data in XML. 41 * base64-encoded binary data in XML.
43 * 42 *
44 * <p> 43 * <p>
45 * When XOP encoding is enabled as described in {@link AttachmentMarshaller#isXOPPackage()}, this annotation disables datatypes such as {@link Image} or {@link Source} or <tt>byte[]</tt> that are bound to base64-encoded binary from being considered for 44 * When XOP encoding is enabled as described in {@link AttachmentMarshaller#isXOPPackage()}, this annotation disables datatypes such as {@link java.awt.Image} or {@link Source} or <tt>byte[]</tt> that are bound to base64-encoded binary from being considered for
46 * XOP encoding. If a JAXB property is annotated with this annotation or if 45 * XOP encoding. If a JAXB property is annotated with this annotation or if
47 * the JAXB property's base type is annotated with this annotation, 46 * the JAXB property's base type is annotated with this annotation,
48 * neither 47 * neither
49 * {@link AttachmentMarshaller#addMtomAttachment(DataHandler, String, String)} 48 * {@link AttachmentMarshaller#addMtomAttachment(DataHandler, String, String)}
50 * nor 49 * nor

mercurial