Uses of Class
com.networknt.schema.SchemaRegistry
Packages that use SchemaRegistry
-
Uses of SchemaRegistry in com.networknt.schema
Methods in com.networknt.schema that return SchemaRegistryModifier and TypeMethodDescriptionSchemaRegistry.Builder.build()SchemaContext.getSchemaRegistry()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.withDefaultDialect(SpecificationVersion specificationVersion) Creates a new schema registry with a default schema dialect.static SchemaRegistrySchemaRegistry.withDefaultDialect(SpecificationVersion specificationVersion, Consumer<SchemaRegistry.Builder> customizer) Creates a new schema registry with a default schema dialect.static SchemaRegistrySchemaRegistry.withDefaultDialectId(String dialectId, 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.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.Methods in com.networknt.schema with parameters of type SchemaRegistryModifier and TypeMethodDescriptionstatic SchemaRegistry.BuilderSchemaRegistry.builder(SchemaRegistry blueprint) Builder from an existingSchemaRegistry.Constructors in com.networknt.schema with parameters of type SchemaRegistryModifierConstructorDescriptionSchemaContext(Dialect dialect, SchemaRegistry schemaRegistry) SchemaContext(Dialect dialect, SchemaRegistry schemaRegistry, ConcurrentMap<String, Schema> schemaReferences, ConcurrentMap<String, Schema> schemaResources, ConcurrentMap<String, Schema> dynamicAnchors) -
Uses of SchemaRegistry in com.networknt.schema.dialect
Methods in com.networknt.schema.dialect with parameters of type SchemaRegistryModifier and TypeMethodDescriptionBasicDialectRegistry.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.protected DialectAbstractDialectRegistry.loadDialect(String iri, SchemaRegistry schemaFactory) protected Dialect.BuilderAbstractDialectRegistry.loadDialectBuilder(String iri, SchemaRegistry schemaFactory)