io.vertx.reactivex.json.schema

## Class Validator

- java.lang.Object
- - io.vertx.reactivex.json.schema.Validator

-     public class Validator
      extends Object

  A validator, validates some input object using a well known schema.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<Validator>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Validator(Object delegate)`
    `Validator(Validator delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Validator` | `create(JsonSchema schema, JsonSchemaOptions options)` Creates a new validator with some initial schema and options.
    `boolean` | `equals(Object o)`
    `Validator` | `getDelegate()`
    `int` | `hashCode()`
    `static Validator` | `newInstance(Validator arg)`
    `String` | `toString()`
    `OutputUnit` | `validate(Object instance)` Validate a given input against the initial schema

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<Validator> __TYPE_ARG

  - ### Constructor Detail

    - #### Validator

          public Validator(Validator delegate)

    - #### Validator

          public Validator(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public Validator getDelegate()

    - #### create

          public static Validator create(JsonSchema schema,
                                         JsonSchemaOptions options)

      Creates a new validator with some initial schema and options.
      Parameters:
        `schema` - the initial schema
        `options` - the validator options
      Returns:
        a validator instance

    - #### validate

          public OutputUnit validate(Object instance)

      Validate a given input against the initial schema
      Parameters:
        `instance` - instance to validate
      Returns:
        returns a output unit object as defined by the options

    - #### newInstance

          public static Validator newInstance(Validator arg)

Copyright © 2022 Eclipse. All rights reserved.