Uses of Class
com.networknt.schema.SchemaRegistry
-
Packages that use SchemaRegistry Package Description com.networknt.schema com.networknt.schema.dialect -
-
Uses of SchemaRegistry in com.networknt.schema
Methods in com.networknt.schema that return SchemaRegistry Modifier and Type Method Description SchemaRegistrySchemaRegistry.Builder. build()SchemaRegistrySchemaContext. 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)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 SchemaRegistry Modifier and Type Method Description static SchemaRegistry.BuilderSchemaRegistry. builder(SchemaRegistry blueprint)Builder from an existingSchemaRegistry.Constructors in com.networknt.schema with parameters of type SchemaRegistry 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 SchemaRegistry in com.networknt.schema.dialect
Methods in com.networknt.schema.dialect with parameters of type SchemaRegistry Modifier and Type Method Description 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.protected DialectAbstractDialectRegistry. loadDialect(String iri, SchemaRegistry schemaFactory)protected Dialect.BuilderAbstractDialectRegistry. loadDialectBuilder(String iri, SchemaRegistry schemaFactory)
-