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

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


  53  * as follows:
  54  *
  55  * <ul>
  56  *   <li> If there is a <tt>@XmlAccessorOrder</tt> on a class, then
  57  *        it is used. </li>
  58  *   <li> Otherwise, if a <tt>@XmlAccessorOrder </tt> exists on one of
  59  *        its super classes, then it is inherited (by the virtue of
  60  *        {@link Inherited})
  61  *   <li> Otherwise, the <tt>@XmlAccessorOrder</tt> on the package
  62  *        of the class is used, if it's there.
  63  *   <li> Otherwise {@link XmlAccessOrder#UNDEFINED}.
  64  * </ul>
  65  *
  66  * <p>This annotation can be used with the following annotations:
  67  *    {@link XmlType}, {@link XmlRootElement}, {@link XmlAccessorType},
  68  *    {@link XmlSchema}, {@link XmlSchemaType}, {@link XmlSchemaTypes},
  69  *    , {@link XmlJavaTypeAdapter}. It can also be used with the
  70  *    following annotations at the package level: {@link XmlJavaTypeAdapter}.
  71  *
  72  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
  73  * @since JAXB2.0
  74  * @see XmlAccessOrder
  75  */
  76 
  77 @Inherited @Retention(RUNTIME) @Target({PACKAGE, TYPE})
  78 public @interface XmlAccessorOrder {
  79         XmlAccessOrder value() default XmlAccessOrder.UNDEFINED;
  80 }


  53  * as follows:
  54  *
  55  * <ul>
  56  *   <li> If there is a <tt>@XmlAccessorOrder</tt> on a class, then
  57  *        it is used. </li>
  58  *   <li> Otherwise, if a <tt>@XmlAccessorOrder </tt> exists on one of
  59  *        its super classes, then it is inherited (by the virtue of
  60  *        {@link Inherited})
  61  *   <li> Otherwise, the <tt>@XmlAccessorOrder</tt> on the package
  62  *        of the class is used, if it's there.
  63  *   <li> Otherwise {@link XmlAccessOrder#UNDEFINED}.
  64  * </ul>
  65  *
  66  * <p>This annotation can be used with the following annotations:
  67  *    {@link XmlType}, {@link XmlRootElement}, {@link XmlAccessorType},
  68  *    {@link XmlSchema}, {@link XmlSchemaType}, {@link XmlSchemaTypes},
  69  *    , {@link XmlJavaTypeAdapter}. It can also be used with the
  70  *    following annotations at the package level: {@link XmlJavaTypeAdapter}.
  71  *
  72  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
  73  * @since 1.6, JAXB 2.0
  74  * @see XmlAccessOrder
  75  */
  76 
  77 @Inherited @Retention(RUNTIME) @Target({PACKAGE, TYPE})
  78 public @interface XmlAccessorOrder {
  79         XmlAccessOrder value() default XmlAccessOrder.UNDEFINED;
  80 }