Package io.zeebe.msgpack.jsonpath
Enum JsonPathToken
- java.lang.Object
-
- java.lang.Enum<JsonPathToken>
-
- io.zeebe.msgpack.jsonpath.JsonPathToken
-
- All Implemented Interfaces:
Serializable,Comparable<JsonPathToken>
public enum JsonPathToken extends Enum<JsonPathToken>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD_BRACKET_OPERATOR_BEGINCHILD_BRACKET_OPERATOR_ENDCHILD_OPERATOREND_INPUTLITERALRECURSION_OPERATORROOT_OBJECTSTART_INPUTSUBSCRIPT_OPERATOR_BEGINSUBSCRIPT_OPERATOR_ENDWILDCARD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonPathTokenvalueOf(String name)Returns the enum constant of this type with the specified name.static JsonPathToken[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_INPUT
public static final JsonPathToken START_INPUT
-
END_INPUT
public static final JsonPathToken END_INPUT
-
ROOT_OBJECT
public static final JsonPathToken ROOT_OBJECT
-
CHILD_OPERATOR
public static final JsonPathToken CHILD_OPERATOR
-
RECURSION_OPERATOR
public static final JsonPathToken RECURSION_OPERATOR
-
WILDCARD
public static final JsonPathToken WILDCARD
-
SUBSCRIPT_OPERATOR_BEGIN
public static final JsonPathToken SUBSCRIPT_OPERATOR_BEGIN
-
SUBSCRIPT_OPERATOR_END
public static final JsonPathToken SUBSCRIPT_OPERATOR_END
-
CHILD_BRACKET_OPERATOR_BEGIN
public static final JsonPathToken CHILD_BRACKET_OPERATOR_BEGIN
-
CHILD_BRACKET_OPERATOR_END
public static final JsonPathToken CHILD_BRACKET_OPERATOR_END
-
LITERAL
public static final JsonPathToken LITERAL
-
-
Method Detail
-
values
public static JsonPathToken[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JsonPathToken c : JsonPathToken.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonPathToken valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-