Uses of Class
com.networknt.schema.dialect.Dialect
Packages that use Dialect
-
Uses of Dialect in com.networknt.schema
Methods in com.networknt.schema that return DialectModifier and TypeMethodDescriptionSchemaContext.getDialect()SchemaRegistry.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 DialectModifier and TypeMethodDescriptionstatic 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 DialectModifier and TypeMethodDescriptionstatic 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 DialectModifierConstructorDescriptionSchemaContext(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 DialectMethods in com.networknt.schema.dialect that return DialectModifier and TypeMethodDescriptionDialect.Builder.build()BasicDialectRegistry.getDialect(String dialectId, SchemaRegistry schemaRegistry) DefaultDialectRegistry.getDialect(String dialectId, SchemaRegistry schemaFactory) DialectRegistry.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 DialectModifier and TypeMethodDescriptionstatic Dialect.BuilderCreate a builder.static Dialect.BuilderCreate a builder.Constructors in com.networknt.schema.dialect with parameters of type DialectModifierConstructorDescriptionBasicDialectRegistry(Dialect dialect) DefaultDialectRegistry(Dialect dialect) Constructor parameters in com.networknt.schema.dialect with type arguments of type DialectModifierConstructorDescriptionBasicDialectRegistry(Collection<Dialect> dialects) BasicDialectRegistry(Function<String, Dialect> dialects) DefaultDialectRegistry(Collection<Dialect> dialects) DefaultDialectRegistry(Function<String, Dialect> dialects)