Package org.apache.johnzon.jsonschema
Class JsonSchemaValidatorFactory.ValidationsFunction
- java.lang.Object
-
- org.apache.johnzon.jsonschema.JsonSchemaValidatorFactory.ValidationsFunction
-
- All Implemented Interfaces:
Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>
- Enclosing class:
- JsonSchemaValidatorFactory
private static class JsonSchemaValidatorFactory.ValidationsFunction extends Object implements Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>
-
-
Field Summary
Fields Modifier and Type Field Description private List<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>>
delegates
-
Constructor Summary
Constructors Modifier Constructor Description private
ValidationsFunction(List<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>> validations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<ValidationResult.ValidationError>
apply(jakarta.json.JsonValue jsonValue)
String
toString()
-
-
-
Field Detail
-
delegates
private final List<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>> delegates
-
-
Constructor Detail
-
ValidationsFunction
private ValidationsFunction(List<Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>> validations)
-
-
Method Detail
-
apply
public Stream<ValidationResult.ValidationError> apply(jakarta.json.JsonValue jsonValue)
- Specified by:
apply
in interfaceFunction<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>
-
-