--- old/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlType.java 2015-09-19 13:15:49.060861817 +0300 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlType.java 2015-09-19 13:15:48.924861142 +0300 @@ -35,7 +35,7 @@ * Maps a class or an enum type to a XML Schema type. * *

Usage

- *

The @XmlType annnotation can be used with the following program + *

The {@code @XmlType} annnotation can be used with the following program * elements: *

* Mapping to XML Schema Complex Type * * *

* Mapping class to XML Schema simple type *

* A class can be mapped to a XML Schema simple type using the - * @XmlValue annotation. For additional details and examples, + * {@code @XmlValue} annotation. For additional details and examples, * see @{@link XmlValue} annotation type. *

* The following table shows the mapping of the class to a XML Schema @@ -114,8 +114,8 @@ *

*
@@ -156,7 +156,7 @@ * * Class * X - * 1 [@XmlValue property] {@literal &&}
[property]+ {@literal ->} attributes + * 1 [{@code @XmlValue} property] {@literal &&}
[property]+ {@literal ->} attributes * simplecontent * * @@ -164,7 +164,7 @@ * * Class * X - * 1 [@XmlValue property] {@literal &&}
no properties {@literal ->} attribute + * 1 [{@code @XmlValue} property] {@literal &&}
no properties {@literal ->} attribute * * simpletype * @@ -176,8 +176,8 @@ * * An enum type maps to a XML schema simple type with enumeration * facets. The following annotation elements are ignored since they - * are not meaningful: propOrder() , factoryMethod() , - * factoryClass() . + * are not meaningful: {@code propOrder()} , {@code factoryMethod()} , + * {@code factoryClass()} . * *

Usage with other annotations

*

This annotation can be used with the following annotations: @@ -406,7 +406,7 @@ *

All of the JavaBean properties being mapped to XML Schema elements * must be listed. *

A JavaBean property or field listed in propOrder must not - * be transient or annotated with @XmlTransient. + * be transient or annotated with {@code @XmlTransient}. *

The default ordering of JavaBean properties is determined * by @{@link XmlAccessorOrder}. */ @@ -423,18 +423,18 @@ * Class containing a no-arg factory method for creating an * instance of this class. The default is this class. * - *

If factoryClass is DEFAULT.class and - * factoryMethod is "", then there is no static factory + *

If {@code factoryClass} is DEFAULT.class and + * {@code factoryMethod} is "", then there is no static factory * method. * - *

If factoryClass is DEFAULT.class and - * factoryMethod is not "", then - * factoryMethod is the name of a static factory method + *

If {@code factoryClass} is DEFAULT.class and + * {@code factoryMethod} is not "", then + * {@code factoryMethod} is the name of a static factory method * in this class. * - *

If factoryClass is not DEFAULT.class, then - * factoryMethod must not be "" and must be the name of - * a static factory method specified in factoryClass. + *

If {@code factoryClass} is not DEFAULT.class, then + * {@code factoryMethod} must not be "" and must be the name of + * a static factory method specified in {@code factoryClass}. */ Class factoryClass() default DEFAULT.class; @@ -447,7 +447,7 @@ /** * Name of a no-arg factory method in the class specified in - * factoryClass factoryClass(). + * {@code factoryClass} factoryClass(). * */ String factoryMethod() default "";