public static enum ObjectParser.ValueType extends java.lang.Enum<ObjectParser.ValueType>
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<XContentParser.Token> |
supportedTokens() |
static ObjectParser.ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectParser.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectParser.ValueType STRING
public static final ObjectParser.ValueType STRING_OR_NULL
public static final ObjectParser.ValueType FLOAT
public static final ObjectParser.ValueType FLOAT_OR_NULL
public static final ObjectParser.ValueType DOUBLE
public static final ObjectParser.ValueType DOUBLE_OR_NULL
public static final ObjectParser.ValueType LONG
public static final ObjectParser.ValueType LONG_OR_NULL
public static final ObjectParser.ValueType INT
public static final ObjectParser.ValueType BOOLEAN
public static final ObjectParser.ValueType STRING_ARRAY
public static final ObjectParser.ValueType FLOAT_ARRAY
public static final ObjectParser.ValueType DOUBLE_ARRAY
public static final ObjectParser.ValueType LONG_ARRAY
public static final ObjectParser.ValueType INT_ARRAY
public static final ObjectParser.ValueType BOOLEAN_ARRAY
public static final ObjectParser.ValueType OBJECT
public static final ObjectParser.ValueType OBJECT_ARRAY
public static final ObjectParser.ValueType OBJECT_OR_BOOLEAN
public static final ObjectParser.ValueType OBJECT_OR_STRING
public static final ObjectParser.ValueType OBJECT_ARRAY_BOOLEAN_OR_STRING
public static final ObjectParser.ValueType OBJECT_ARRAY_OR_STRING
public static final ObjectParser.ValueType VALUE
public static final ObjectParser.ValueType VALUE_OBJECT_ARRAY
public static ObjectParser.ValueType[] values()
for (ObjectParser.ValueType c : ObjectParser.ValueType.values()) System.out.println(c);
public static ObjectParser.ValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.EnumSet<XContentParser.Token> supportedTokens()