Package io.vertx.mutiny.json.schema
Class JsonFormatValidator
java.lang.Object
io.vertx.mutiny.json.schema.JsonFormatValidator
- All Implemented Interfaces:
MutinyDelegate
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface.- See Also:
-
JsonFormatValidator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<JsonFormatValidator>static final JsonFormatValidatorThe default validator which performs a NOOP. -
Constructor Summary
ConstructorsConstructorDescriptionJsonFormatValidator(io.vertx.json.schema.JsonFormatValidator delegate) Create a new instance ofJsonFormatValidatordelegating to the given (non-null) instance ofJsonFormatValidator.JsonFormatValidator(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.json.schema.JsonFormatValidatorGet the delegate instance.inthashCode()static JsonFormatValidatornewInstance(io.vertx.json.schema.JsonFormatValidator delegate) Creates a new instance of theJsonFormatValidator.toString()validateFormat(String instanceType, String format, Object instance)
-
Field Details
-
DEFAULT_VALIDATOR
The default validator which performs a NOOP. -
__TYPE_ARG
-
-
Constructor Details
-
JsonFormatValidator
public JsonFormatValidator(io.vertx.json.schema.JsonFormatValidator delegate) Create a new instance ofJsonFormatValidatordelegating to the given (non-null) instance ofJsonFormatValidator. -
JsonFormatValidator
-
-
Method Details
-
getDelegate
public io.vertx.json.schema.JsonFormatValidator getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
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
Creates a new instance of theJsonFormatValidator. -
hashCode
public int hashCode() -
equals
-
toString
-