KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > bind > annotation > XmlAccessOrder


1 /*
2  * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.bind.annotation;
7
8 /**
9  * Used by XmlAccessorOrder to control the ordering of properties and
10  * fields in a JAXB bound class.
11  *
12  * @author Sekhar Vajjhala, Sun Microsystems, Inc.
13  * @since JAXB2.0
14  * @version $Revision: 1.3 $
15  * @see XmlAccessorOrder
16  */

17
18 public enum XmlAccessOrder {
19     /**
20      * The ordering of fields and properties in a class is undefined.
21      */

22     UNDEFINED,
23     /**
24      * The ordering of fields and properties in a class is in
25      * alphabetical order as determined by the
26      * method java.lang.String.compareTo(String anotherString).
27      */

28     ALPHABETICAL
29 }
30
31
Popular Tags