01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.bind.annotation;
07:
08: /**
09: * 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.1 $
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: }
|