public static enum JsonOptions.JsonFormat extends Enum<JsonOptions.JsonFormat>
Enum Constant and Description |
---|
ATTRIBUTES
Attributes.
|
DIRECT
Direct.
|
JSONML
JsonML.
|
MAP
Map (non-XML).
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static JsonOptions.JsonFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonOptions.JsonFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonOptions.JsonFormat DIRECT
public static final JsonOptions.JsonFormat ATTRIBUTES
public static final JsonOptions.JsonFormat JSONML
public static final JsonOptions.JsonFormat MAP
public static JsonOptions.JsonFormat[] values()
for (JsonOptions.JsonFormat c : JsonOptions.JsonFormat.values()) System.out.println(c);
public static JsonOptions.JsonFormat 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<JsonOptions.JsonFormat>
Copyright © 2005–2015 BaseX Team. All rights reserved.