Class JsonFormatValidator
java.lang.Object
io.vertx.rxjava3.json.schema.JsonFormatValidator
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<JsonFormatValidator> static final JsonFormatValidatorThe default validator which performs a NOOP. -
Constructor Summary
ConstructorsConstructorDescriptionJsonFormatValidator(JsonFormatValidator delegate) JsonFormatValidator(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static JsonFormatValidatortoString()validateFormat(String instanceType, String format, Object instance)
-
Field Details
-
__TYPE_ARG
-
DEFAULT_VALIDATOR
The default validator which performs a NOOP.
-
-
Constructor Details
-
JsonFormatValidator
-
JsonFormatValidator
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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.
-
newInstance
-