io.vertx.json.schema.common

## Class PatternValidatorFactory.PatternValidator

- java.lang.Object
- - io.vertx.json.schema.common.BaseSyncValidator
  - - io.vertx.json.schema.common.PatternValidatorFactory.PatternValidator

- All Implemented Interfaces:
    PriorityGetter, SyncValidator, Validator
  Enclosing class:
    PatternValidatorFactory

      public static class PatternValidatorFactory.PatternValidator
      extends BaseSyncValidator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PatternValidator(Pattern pattern)`

  - ### Method Summary

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

    - ### Methods inherited from class io.vertx.json.schema.common.BaseSyncValidator

      `getPriority, isSync`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PatternValidator

          public PatternValidator(Pattern pattern)

  - ### Method Detail

    - #### validateSync

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

      Description copied from interface: `SyncValidator`
      Validate the provided value
      Throws:
        `ValidationException` - if the object is not valid

Copyright © 2023 Eclipse. All rights reserved.