Package io.vertx.mutiny.json.schema
Class SchemaParser
java.lang.Object
io.vertx.mutiny.json.schema.SchemaParser
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchemaParser(io.vertx.json.schema.SchemaParser delegate) SchemaParser(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaParserDeprecated.static SchemaParsercreateDraft7SchemaParser(SchemaRouter router) Deprecated.static SchemaParserDeprecated.booleanio.vertx.json.schema.SchemaParserDeprecated.inthashCode()static SchemaParsernewInstance(io.vertx.json.schema.SchemaParser arg) parse(io.vertx.core.json.JsonObject jsonSchema) Deprecated.parse(io.vertx.core.json.JsonObject jsonSchema, JsonPointer schemaPointer) Deprecated.Deprecated.parse(Boolean jsonSchema, JsonPointer schemaPointer) Deprecated.parseFromString(String unparsedJson) Deprecated.parseFromString(String unparsedJson, JsonPointer schemaPointer) Deprecated.toString()withStringFormatValidator(String formatName, Predicate<String> predicate) Deprecated.withValidatorFactory(io.vertx.json.schema.common.ValidatorFactory factory) Deprecated.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SchemaParser
public SchemaParser(io.vertx.json.schema.SchemaParser delegate) -
SchemaParser
-
-
Method Details
-
getDelegate
public io.vertx.json.schema.SchemaParser getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
parse
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 schemaschemaPointer- Scope of schema. Must be a JSONPointer with absolute URI- Returns:
- the schema instance
-
parse
Deprecated.- Parameters:
jsonSchema- JSON representing the schema- Returns:
- the schema instance
-
parse
Deprecated.- Parameters:
jsonSchema- JSON representing the schemaschemaPointer- Scope of schema. Must be a JSONPointer with absolute URI- Returns:
- the schema instance
-
parseFromString
Deprecated.- Parameters:
unparsedJson- Unparsed JSON representing the schema.- Returns:
- the schema instance
-
parseFromString
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.- Returns:
-
createOpenAPI3SchemaParser
Deprecated.- Parameters:
router-- Returns:
-
createDraft7SchemaParser
Deprecated.- Parameters:
router-- Returns:
-
createDraft201909SchemaParser
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 namepredicate- predicate for the new format- Returns:
- a reference to this
-
newInstance
-