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

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


 362  *
 363  *          private String city;
 364  *          private String name;
 365  *          private String state;
 366  *          private String street;
 367  *          private int    zip;
 368  *
 369  *          private USAddress() {}
 370  *
 371  *          public static USAddress getNewInstance(){
 372  *              return new USAddress();
 373  *          }
 374  *      }
 375  * </pre>
 376  *
 377  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
 378  * @see XmlElement
 379  * @see XmlAttribute
 380  * @see XmlValue
 381  * @see XmlSchema
 382  * @since JAXB2.0
 383  */
 384 
 385 @Retention(RUNTIME) @Target({TYPE})
 386 public @interface XmlType {
 387     /**
 388      * Name of the XML Schema type which the class is mapped.
 389      */
 390     String name() default "##default" ;
 391 
 392     /**
 393      * Specifies the order for XML Schema elements when class is
 394      * mapped to a XML Schema complex type.
 395      *
 396      * <p> Refer to the table for how the propOrder affects the
 397      * mapping of class </p>
 398      *
 399      * <p> The propOrder is a list of names of JavaBean properties in
 400      *     the class. Each name in the list is the name of a Java
 401      *     identifier of the JavaBean property. The order in which
 402      *     JavaBean properties are listed is the order of XML Schema




 362  *
 363  *          private String city;
 364  *          private String name;
 365  *          private String state;
 366  *          private String street;
 367  *          private int    zip;
 368  *
 369  *          private USAddress() {}
 370  *
 371  *          public static USAddress getNewInstance(){
 372  *              return new USAddress();
 373  *          }
 374  *      }
 375  * </pre>
 376  *
 377  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
 378  * @see XmlElement
 379  * @see XmlAttribute
 380  * @see XmlValue
 381  * @see XmlSchema
 382  * @since 1.6, JAXB 2.0
 383  */
 384 
 385 @Retention(RUNTIME) @Target({TYPE})
 386 public @interface XmlType {
 387     /**
 388      * Name of the XML Schema type which the class is mapped.
 389      */
 390     String name() default "##default" ;
 391 
 392     /**
 393      * Specifies the order for XML Schema elements when class is
 394      * mapped to a XML Schema complex type.
 395      *
 396      * <p> Refer to the table for how the propOrder affects the
 397      * mapping of class </p>
 398      *
 399      * <p> The propOrder is a list of names of JavaBean properties in
 400      *     the class. Each name in the list is the name of a Java
 401      *     identifier of the JavaBean property. The order in which
 402      *     JavaBean properties are listed is the order of XML Schema