public static enum XContentBuilder.FieldCaseConversion extends Enum<XContentBuilder.FieldCaseConversion>
Enum Constant and Description |
---|
CAMELCASE
Underscore will be converted to Camel case.
|
NONE
No conversion will occur.
|
UNDERSCORE
Camel Case will be converted to Underscore casing.
|
Modifier and Type | Method and Description |
---|---|
static XContentBuilder.FieldCaseConversion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XContentBuilder.FieldCaseConversion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XContentBuilder.FieldCaseConversion NONE
public static final XContentBuilder.FieldCaseConversion UNDERSCORE
public static final XContentBuilder.FieldCaseConversion CAMELCASE
public static XContentBuilder.FieldCaseConversion[] values()
for (XContentBuilder.FieldCaseConversion c : XContentBuilder.FieldCaseConversion.values()) System.out.println(c);
public static XContentBuilder.FieldCaseConversion 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 © 2009–2016. All rights reserved.