Class MaximumValidation.Impl
- java.lang.Object
-
- org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
-
- org.apache.johnzon.jsonschema.spi.builtin.BaseNumberValidation
-
- org.apache.johnzon.jsonschema.spi.builtin.MaximumValidation.Impl
-
- All Implemented Interfaces:
Function<jakarta.json.JsonValue,Stream<ValidationResult.ValidationError>>
- Enclosing class:
- MaximumValidation
private static class MaximumValidation.Impl extends BaseNumberValidation
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseNumberValidation
bound
-
Fields inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
extractor, pointer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isValid(double val)
protected Stream<ValidationResult.ValidationError>
toError(double val)
String
toString()
-
Methods inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseNumberValidation
onNumber
-
Methods inherited from class org.apache.johnzon.jsonschema.spi.builtin.BaseValidation
apply, isNull, onArray, onBoolean, onObject, onString
-
-
-
-
Method Detail
-
isValid
protected boolean isValid(double val)
- Specified by:
isValid
in classBaseNumberValidation
-
toError
protected Stream<ValidationResult.ValidationError> toError(double val)
- Specified by:
toError
in classBaseNumberValidation
-
-