Class JsonFormatValidator


  • public class JsonFormatValidator
    extends Object
    • Constructor Detail

      • JsonFormatValidator

        public JsonFormatValidator​(io.vertx.json.schema.JsonFormatValidator delegate)
      • JsonFormatValidator

        public JsonFormatValidator​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.json.schema.JsonFormatValidator getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 arg)