public class SchemaRepository extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<SchemaRepository> |
__TYPE_ARG |
Constructor and Description |
---|
SchemaRepository(Object delegate) |
SchemaRepository(SchemaRepository delegate) |
Modifier and Type | Method and Description |
---|---|
static SchemaRepository |
create(JsonSchemaOptions options)
Create a repository with some initial configuration.
|
SchemaRepository |
dereference(JsonSchema schema)
Dereferences a schema to the repository.
|
SchemaRepository |
dereference(String uri,
JsonSchema schema)
Dereferences a schema to the repository.
|
boolean |
equals(Object o) |
SchemaRepository |
getDelegate() |
int |
hashCode() |
static SchemaRepository |
newInstance(SchemaRepository arg) |
String |
toString() |
Validator |
validator(JsonSchema schema)
A new validator instance using this repository options.
|
Validator |
validator(JsonSchema schema,
JsonSchemaOptions options)
A new validator instance overriding this repository options.
|
public static final TypeArg<SchemaRepository> __TYPE_ARG
public SchemaRepository(SchemaRepository delegate)
public SchemaRepository(Object delegate)
public SchemaRepository getDelegate()
public static SchemaRepository create(JsonSchemaOptions options)
options
- the initial configurationpublic SchemaRepository dereference(JsonSchema schema)
schema
- a new schema to listpublic SchemaRepository dereference(String uri, JsonSchema schema)
uri
- the source of the schema used for de-referencing, optionally relative to JsonSchemaOptions
.schema
- a new schema to listpublic Validator validator(JsonSchema schema)
schema
- the start validation schemapublic Validator validator(JsonSchema schema, JsonSchemaOptions options)
schema
- the start validation schemaoptions
- the options to be using on the validator instancepublic static SchemaRepository newInstance(SchemaRepository arg)
Copyright © 2022 Eclipse. All rights reserved.