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

public static enum PositionChecker.Checker extends Enum<PositionChecker.Checker>
Grouped events according to whether it is container or value.
  • Enum Constant Details

  • Field Details

    • events

      private final Set<jakarta.json.stream.JsonParser.Event> events
  • Constructor Details

    • Checker

      private Checker(jakarta.json.stream.JsonParser.Event... events)
  • Method Details

    • values

      public static PositionChecker.Checker[] 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

      public static PositionChecker.Checker 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 name
      NullPointerException - if the argument is null
    • getEvents

      public Set<jakarta.json.stream.JsonParser.Event> getEvents()
      Return events bound to the event group.
      Returns:
      set of bound events