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

Print this page
rev 507 : 8047724: @since tag cleanup in jaxws
Reviewed-by:


 107  *       public java.math.BigDecimal price;
 108  *
 109  *       @XmlAttribute
 110  *       public String currency;
 111  *   }
 112  *
 113  *   <!-- Example 2: XML Schema fragment -->
 114  *   <xs:complexType name="InternationalPrice">
 115  *     <xs:simpleContent>
 116  *       <xs:extension base="xs:decimal">
 117  *         <xs:attribute name="currency" type="xs:string"/>
 118  *       </xs:extension>
 119  *     </xs:simpleContent>
 120  *   </xs:complexType>
 121  *
 122  *   </pre>
 123  * </p>
 124  *
 125  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
 126  * @see XmlType
 127  * @since JAXB2.0
 128  */
 129 
 130 @Retention(RUNTIME) @Target({FIELD, METHOD})
 131 public @interface XmlValue {}


 107  *       public java.math.BigDecimal price;
 108  *
 109  *       @XmlAttribute
 110  *       public String currency;
 111  *   }
 112  *
 113  *   &lt;!-- Example 2: XML Schema fragment -->
 114  *   &lt;xs:complexType name="InternationalPrice">
 115  *     &lt;xs:simpleContent>
 116  *       &lt;xs:extension base="xs:decimal">
 117  *         &lt;xs:attribute name="currency" type="xs:string"/>
 118  *       &lt;/xs:extension>
 119  *     &lt;/xs:simpleContent>
 120  *   &lt;/xs:complexType>
 121  *
 122  *   </pre>
 123  * </p>
 124  *
 125  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
 126  * @see XmlType
 127  * @since 1.6, JAXB 2.0
 128  */
 129 
 130 @Retention(RUNTIME) @Target({FIELD, METHOD})
 131 public @interface XmlValue {}