Class JsonFormatValidator

java.lang.Object
io.vertx.mutiny.json.schema.JsonFormatValidator
All Implemented Interfaces:
MutinyDelegate

public class JsonFormatValidator extends Object implements MutinyDelegate
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
See Also:
  • JsonFormatValidator
  • Field Details

  • Constructor Details

    • JsonFormatValidator

      public JsonFormatValidator(io.vertx.json.schema.JsonFormatValidator delegate)
      Create a new instance of JsonFormatValidator delegating to the given (non-null) instance of JsonFormatValidator.
    • JsonFormatValidator

      public JsonFormatValidator(Object delegate)
  • 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:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • validateFormat

      public String validateFormat(String instanceType, String format, Object instance)
      Parameters:
      instanceType - The type of the related instance
      format - 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

      public static JsonFormatValidator newInstance(io.vertx.json.schema.JsonFormatValidator delegate)
      Creates a new instance of the JsonFormatValidator.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object