public enum EDataFormat extends Enum<EDataFormat>
Enum Constant and Description |
---|
DEFAULT
缺省 空字符串
|
HTML
HTML
|
HTML_FORM
HTML_FORM
|
JSON
json
|
JSONP
JSONP
|
TEXT
TEXT
|
XML
xml
|
Modifier and Type | Method and Description |
---|---|
static EDataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EDataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EDataFormat XML
public static final EDataFormat JSON
public static final EDataFormat JSONP
public static final EDataFormat TEXT
public static final EDataFormat HTML
public static final EDataFormat HTML_FORM
public static final EDataFormat DEFAULT
public static EDataFormat[] values()
for (EDataFormat c : EDataFormat.values()) System.out.println(c);
public static EDataFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.