Package io.vertx.json.schema
Interface JsonFormatValidator
-
public interface JsonFormatValidator
-
-
Field Summary
Fields Modifier and Type Field Description static JsonFormatValidator
DEFAULT_VALIDATOR
The default validator which performs a NOOP.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
validateFormat(String instanceType, String format, Object instance)
-
-
-
Field Detail
-
DEFAULT_VALIDATOR
static final JsonFormatValidator DEFAULT_VALIDATOR
The default validator which performs a NOOP.
-
-
Method Detail
-
validateFormat
String validateFormat(String instanceType, String format, Object instance)
- Parameters:
instanceType
- The type of the related instanceformat
- The format specified in the schema for the current object instance.instance
- The current object instance that is currently being validated.- Returns:
- Any string if there are any format validation errors, null if there are no validation errors.
-
-