java.lang.Object
org.forgerock.json.schema.validator.helpers.EnumHelper
All Implemented Interfaces:
SimpleValidator<Object>

public class EnumHelper extends Object implements SimpleValidator<Object>
This class implements "enum" validation on all types of objects as defined in the paragraph 5.19 of the JSON Schema specification.

This implementation relies on the equals method.

See Also:
  • Constructor Details

    • EnumHelper

      public EnumHelper(List<Object> enumValues)
      Construct a new enum helper.
      Parameters:
      enumValues - The values.
  • Method Details