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