Interface JsonFormatValidator
public interface JsonFormatValidator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonFormatValidatorThe default validator which performs a NOOP. -
Method Summary
Modifier and TypeMethodDescriptionvalidateFormat(String instanceType, String format, Object instance)
-
Field Details
-
DEFAULT_VALIDATOR
The default validator which performs a NOOP.
-
-
Method Details
-
validateFormat
- 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.
-