public enum XmlAccessOrder extends Enum<XmlAccessOrder>
XmlAccessorOrder
Enum Constant and Description |
---|
ALPHABETICAL
类中的字段和属性的排序按照java.lang.String.compareTo(String anotherString)方法确定的字母顺序。
|
UNDEFINED
类中的字段和属性的顺序是未定义的。
|
Modifier and Type | Method and Description |
---|---|
static XmlAccessOrder |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static XmlAccessOrder[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final XmlAccessOrder UNDEFINED
public static final XmlAccessOrder ALPHABETICAL
public static XmlAccessOrder[] values()
for (XmlAccessOrder c : XmlAccessOrder.values())
System.out.println(c);
public static XmlAccessOrder valueOf(String name)
name
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- 如果参数为空
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.