Uses of Class
com.networknt.schema.dialect.Dialect
-
Packages that use Dialect Package Description com.networknt.schema com.networknt.schema.dialect -
-
Uses of Dialect in com.networknt.schema
Methods in com.networknt.schema that return Dialect Modifier and Type Method Description DialectSchemaContext. getDialect()DialectSchemaRegistry. getDialect(String dialectId)Gets the dialect that is available to the registry.static DialectSpecification. getDialect(SpecificationVersion version)Gets the standard dialect given the specification version.static DialectSpecification. getDialect(String dialectId)Gets the standard dialect given the dialect id.Methods in com.networknt.schema with parameters of type Dialect Modifier and Type Method Description static SchemaRegistrySchemaRegistry. withDefaultDialect(Dialect dialect)Creates a new schema registry with a default schema dialect.static SchemaRegistrySchemaRegistry. withDefaultDialect(Dialect dialect, Consumer<SchemaRegistry.Builder> customizer)Creates a new schema registry with a default schema dialect.static SchemaRegistrySchemaRegistry. withDialect(Dialect dialect)Gets a new schema registry that supports a specific dialect only.static SchemaRegistrySchemaRegistry. withDialect(Dialect dialect, Consumer<SchemaRegistry.Builder> customizer)Gets a new schema registry that supports a list of specific dialects only.Method parameters in com.networknt.schema with type arguments of type Dialect Modifier and Type Method Description static SchemaRegistrySchemaRegistry. withDialects(List<Dialect> dialects)Gets a new schema registry that supports a list of specific dialects only.static SchemaRegistrySchemaRegistry. withDialects(List<Dialect> dialects, Consumer<SchemaRegistry.Builder> customizer)Gets a new schema registry that supports a specific dialect only.Constructors in com.networknt.schema with parameters of type Dialect Constructor Description SchemaContext(Dialect dialect, SchemaRegistry schemaRegistry)SchemaContext(Dialect dialect, SchemaRegistry schemaRegistry, ConcurrentMap<String,Schema> schemaReferences, ConcurrentMap<String,Schema> schemaResources, ConcurrentMap<String,Schema> dynamicAnchors) -
Uses of Dialect in com.networknt.schema.dialect
Fields in com.networknt.schema.dialect with type parameters of type Dialect Modifier and Type Field Description protected Function<String,Dialect>BasicDialectRegistry. dialectsMethods in com.networknt.schema.dialect that return Dialect Modifier and Type Method Description DialectDialect.Builder. build()DialectBasicDialectRegistry. getDialect(String dialectId, SchemaRegistry schemaRegistry)DialectDefaultDialectRegistry. getDialect(String dialectId, SchemaRegistry schemaFactory)DialectDialectRegistry. getDialect(String dialectId, SchemaRegistry schemaRegistry)Gets the dialect given the dialect id which is the IRI that indicates the meta-schema that can be used to validate the schema conforms to the dialect.static DialectDialects. getDraft201909()Draft 2019-09.static DialectDialects. getDraft202012()Draft 2020-12.static DialectDialects. getDraft4()Draft 4.static DialectDialects. getDraft6()Draft 6.static DialectDialects. getDraft7()Draft 7.static DialectDraft201909. getInstance()static DialectDraft202012. getInstance()static DialectDraft4. getInstance()static DialectDraft6. getInstance()static DialectDraft7. getInstance()static DialectOpenApi30. getInstance()static DialectOpenApi31. getInstance()static DialectDialects. getOpenApi30()OpenAPI 3.0.static DialectDialects. getOpenApi31()OpenAPI 3.1.protected DialectAbstractDialectRegistry. loadDialect(String iri, SchemaRegistry schemaFactory)Methods in com.networknt.schema.dialect with parameters of type Dialect Modifier and Type Method Description static Dialect.BuilderDialect. builder(Dialect blueprint)Create a builder.static Dialect.BuilderDialect. builder(String id, Dialect blueprint)Create a builder.Constructors in com.networknt.schema.dialect with parameters of type Dialect Constructor Description BasicDialectRegistry(Dialect dialect)DefaultDialectRegistry(Dialect dialect)Constructor parameters in com.networknt.schema.dialect with type arguments of type Dialect Constructor Description BasicDialectRegistry(Collection<Dialect> dialects)BasicDialectRegistry(Function<String,Dialect> dialects)DefaultDialectRegistry(Collection<Dialect> dialects)DefaultDialectRegistry(Function<String,Dialect> dialects)
-