Class ContainsValidation.ItemsValidator
- java.lang.Object
-
- org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
-
- org.apache.johnzon.jsonschema.spi.builtin.ContainsValidation.ItemsValidator
-
- All Implemented Interfaces:
Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>
- Enclosing class:
- ContainsValidation
private static class ContainsValidation.ItemsValidator extends BaseValidation
-
-
Field Summary
Fields Modifier and Type Field Description private JsonSchemaValidator
validator
-
Fields inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
extractor, pointer
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ItemsValidator(String pointer, Function<jakarta.json.JsonValue,jakarta.json.JsonValue> extractor, JsonSchemaValidator validator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Stream<ValidationResult.ValidationError>
onArray(jakarta.json.JsonArray array)
String
toString()
-
Methods inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
apply, isNull, onBoolean, onNumber, onObject, onString
-
-
-
-
Field Detail
-
validator
private final JsonSchemaValidator validator
-
-
Constructor Detail
-
ItemsValidator
private ItemsValidator(String pointer, Function<jakarta.json.JsonValue,jakarta.json.JsonValue> extractor, JsonSchemaValidator validator)
-
-
Method Detail
-
onArray
protected Stream<ValidationResult.ValidationError> onArray(jakarta.json.JsonArray array)
- Overrides:
onArray
in classBaseValidation
-
-