Class SchemaParser

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

public class SchemaParser extends Object implements MutinyDelegate
Parse a Json Schema. The parser can be extended to support custom keywords using

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

  • Field Details

  • Constructor Details

    • SchemaParser

      public SchemaParser(io.vertx.json.schema.SchemaParser delegate)
    • SchemaParser

      public SchemaParser(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.json.schema.SchemaParser getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • 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
    • parse

      @Deprecated public Schema parse(io.vertx.core.json.JsonObject jsonSchema)
      Deprecated.
      Parameters:
      jsonSchema - JSON representing the schema
      Returns:
      the schema instance
    • parse

      @Deprecated public Schema parse(io.vertx.core.json.JsonObject jsonSchema, JsonPointer schemaPointer)
      Deprecated.
      Parameters:
      jsonSchema - JSON representing the schema
      schemaPointer - Scope of schema. Must be a JSONPointer with absolute URI
      Returns:
      the schema instance
    • parse

      @Deprecated public Schema parse(Boolean jsonSchema)
      Deprecated.
      Parameters:
      jsonSchema - JSON representing the schema
      Returns:
      the schema instance
    • parse

      @Deprecated public Schema parse(Boolean jsonSchema, JsonPointer schemaPointer)
      Deprecated.
      Parameters:
      jsonSchema - JSON representing the schema
      schemaPointer - Scope of schema. Must be a JSONPointer with absolute URI
      Returns:
      the schema instance
    • parseFromString

      @Deprecated public Schema parseFromString(String unparsedJson)
      Deprecated.
      Parameters:
      unparsedJson - Unparsed JSON representing the schema.
      Returns:
      the schema instance
    • parseFromString

      @Deprecated public Schema parseFromString(String unparsedJson, JsonPointer schemaPointer)
      Deprecated.
      Parameters:
      unparsedJson - Unparsed JSON representing the schema.
      schemaPointer - Scope of schema. Must be a JSONPointer with absolute URI
      Returns:
      the schema instance
    • getSchemaRouter

      @Deprecated public SchemaRouter getSchemaRouter()
      Deprecated.
      Returns:
    • createOpenAPI3SchemaParser

      @Deprecated public static SchemaParser createOpenAPI3SchemaParser(SchemaRouter router)
      Deprecated.
      Parameters:
      router -
      Returns:
    • createDraft7SchemaParser

      @Deprecated public static SchemaParser createDraft7SchemaParser(SchemaRouter router)
      Deprecated.
      Parameters:
      router -
      Returns:
    • createDraft201909SchemaParser

      @Deprecated public static SchemaParser createDraft201909SchemaParser(SchemaRouter router)
      Deprecated.
      Parameters:
      router -
      Returns:
    • withValidatorFactory

      @Deprecated public SchemaParser withValidatorFactory(io.vertx.json.schema.common.ValidatorFactory factory)
      Deprecated.
      Parameters:
      factory - new factory
      Returns:
      a reference to this
    • withStringFormatValidator

      @Deprecated public SchemaParser withStringFormatValidator(String formatName, Predicate<String> predicate)
      Deprecated.
      Parameters:
      formatName - format name
      predicate - predicate for the new format
      Returns:
      a reference to this
    • newInstance

      public static SchemaParser newInstance(io.vertx.json.schema.SchemaParser arg)