io.vertx.json.schema.common

## Interface SyncValidator

- All Superinterfaces:
    PriorityGetter, Validator
  All Known Subinterfaces:
    MutableStateValidator, SchemaInternal
  All Known Implementing Classes:
    BaseCombinatorsValidator, BaseMutableStateValidator, BaseSingleSchemaValidator, BaseSyncValidator, ConstValidatorFactory.ConstValidator, EnumValidatorFactory.EnumValidator, ExclusiveMaximumValidator, ExclusiveMinimumValidator, FalseSchema, MaximumValidator, MaxItemsValidatorFactory.MaxItemsValidator, MaxLengthValidatorFactory.MaxLengthValidator, MaxPropertiesValidatorFactory.MaxPropertiesValidator, MinimumValidator, MinItemsValidatorFactory.MinItemsValidator, MinLengthValidatorFactory.MinLengthValidator, MinPropertiesValidatorFactory.MinPropertiesValidator, PatternValidatorFactory.PatternValidator, RecursiveRefSchema, RefSchema, RequiredValidatorFactory.RequiredValidator, SchemaImpl, TrueSchema

      public interface SyncValidator
      extends Validator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validateSync(ValidatorContext context, Object in)` Validate the provided value

    - ### Methods inherited from interface io.vertx.json.schema.common.Validator

      `isSync`

    - ### Methods inherited from interface io.vertx.json.schema.common.PriorityGetter

      `getPriority`

- - ### Method Detail

    - #### validateSync

          void validateSync(ValidatorContext context,
                            Object in)
                     throws ValidationException,
                            NoSyncValidationException

      Validate the provided value
      Parameters:
        `context` -
        `in` -
      Throws:
        `ValidationException` - if the object is not valid
        `NoSyncValidationException` - if no sync validation can be provided

Copyright © 2021 Eclipse. All rights reserved.