Module org.eclipse.yasson
Enum PositionChecker.Checker
java.lang.Object
java.lang.Enum<PositionChecker.Checker>
org.eclipse.yasson.internal.deserializer.PositionChecker.Checker
- All Implemented Interfaces:
Serializable
,Comparable<PositionChecker.Checker>
- Enclosing class:
PositionChecker
Grouped events according to whether it is container or value.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet
<jakarta.json.stream.JsonParser.Event> Return events bound to the event group.static PositionChecker.Checker
Returns the enum constant of this type with the specified name.static PositionChecker.Checker[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUES
Value bound events. -
CONTAINER
Container bound events.
-
-
Field Details
-
events
-
-
Constructor Details
-
Checker
private Checker(jakarta.json.stream.JsonParser.Event... events)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getEvents
Return events bound to the event group.- Returns:
- set of bound events
-