Package io.vertx.mutiny.json.schema
Class Validator
java.lang.Object
io.vertx.mutiny.json.schema.Validator
- All Implemented Interfaces:
MutinyDelegate
A validator, validates some input object using a well known schema.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Validatorcreate(JsonSchema schema, io.vertx.json.schema.JsonSchemaOptions options) static Validatorcreate(JsonSchema schema, io.vertx.json.schema.JsonSchemaOptions options, JsonFormatValidator jsonFormatValidator) booleanio.vertx.json.schema.ValidatorinthashCode()static ValidatornewInstance(io.vertx.json.schema.Validator arg) toString()io.vertx.json.schema.OutputUnit
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Validator
public Validator(io.vertx.json.schema.Validator delegate) -
Validator
-
-
Method Details
-
getDelegate
public io.vertx.json.schema.Validator getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
create
- Parameters:
schema- the initial schemaoptions- the validator options- Returns:
- a validator instance
-
create
public static Validator create(JsonSchema schema, io.vertx.json.schema.JsonSchemaOptions options, JsonFormatValidator jsonFormatValidator) - Parameters:
schema- the initial schemaoptions- the validator optionsjsonFormatValidator- the custom JSON format validator- Returns:
- a validator instance
-
validate
- Parameters:
instance- instance to validate- Returns:
- returns a output unit object as defined by the options
-
newInstance
-