--- old/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlElement.java 2015-04-21 17:20:12.844098479 +0400 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlElement.java 2015-04-21 17:20:12.752098479 +0400 @@ -36,7 +36,7 @@ /** * Maps a JavaBean property to a XML element derived from property name. * - *
Usage
+ *Usage *
* @XmlElement annotation can be used with the following program * elements: @@ -44,8 +44,6 @@ *
- * * * * The usage is subject to the following constraints: @@ -79,7 +77,7 @@ *
* //Example: Code fragment * public class USPrice { - * @XmlElement(name="itemprice") + * {@literal @}XmlElement(name="itemprice") * public java.math.BigDecimal price; * } * {@code @@ -95,10 +93,9 @@ * * Example 2: Map a field to a nillable element. *- * * //Example: Code fragment * public class USPrice { - * @XmlElement(nillable=true) + * {@literal @}XmlElement(nillable=true) * public java.math.BigDecimal price; * } * {@code @@ -113,10 +110,9 @@ ** Example 3: Map a field to a nillable, required element. *
- * * //Example: Code fragment * public class USPrice { - * @XmlElement(nillable=true, required=true) + * {@literal @}XmlElement(nillable=true, required=true) * public java.math.BigDecimal price; * } * {@code @@ -134,7 +130,6 @@ ** See Example 6 in @{@link XmlType}. * - *
* @author Sekhar Vajjhala, Sun Microsystems, Inc. * @since 1.6, JAXB 2.0 */