Class ContainsValidation
- java.lang.Object
-
- org.apache.johnzon.jsonschema.spi.builtin.ContainsValidation
-
- All Implemented Interfaces:
ValidationExtension
public class ContainsValidation extends Object implements ValidationExtension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ContainsValidation.ItemsValidator
-
Field Summary
Fields Modifier and Type Field Description private JsonSchemaValidatorFactory
factory
-
Constructor Summary
Constructors Constructor Description ContainsValidation(JsonSchemaValidatorFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>>
create(ValidationContext model)
-
-
-
Field Detail
-
factory
private final JsonSchemaValidatorFactory factory
-
-
Constructor Detail
-
ContainsValidation
public ContainsValidation(JsonSchemaValidatorFactory factory)
-
-
Method Detail
-
create
public Optional<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>> create(ValidationContext model)
- Specified by:
create
in interfaceValidationExtension
-
-