public enum SerialMethod extends Enum<SerialMethod>
Enum Constant and Description |
---|
ADAPTIVE
Adaptive.
|
CSV
CSV.
|
HTML
HTML.
|
JSON
JSON.
|
RAW
Raw.
|
TEXT
Text.
|
XHTML
XHTML.
|
XML
XML.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SerialMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialMethod XML
public static final SerialMethod XHTML
public static final SerialMethod HTML
public static final SerialMethod JSON
public static final SerialMethod CSV
public static final SerialMethod TEXT
public static final SerialMethod RAW
public static final SerialMethod ADAPTIVE
public static SerialMethod[] values()
for (SerialMethod c : SerialMethod.values()) System.out.println(c);
public static SerialMethod 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 nullpublic String toString()
toString
in class Enum<SerialMethod>
Copyright © 2005–2015 BaseX Team. All rights reserved.