Package com.networknt.schema
Class DefaultJsonMetaSchemaFactory
java.lang.Object
com.networknt.schema.DefaultJsonMetaSchemaFactory
- All Implemented Interfaces:
JsonMetaSchemaFactory
Default
JsonMetaSchemaFactory
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultJsonMetaSchemaFactory
getMetaSchema
(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) Gets the meta-schema given the IRI.protected JsonMetaSchema
loadMetaSchema
(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) protected JsonMetaSchema.Builder
loadMetaSchemaBuilder
(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config)
-
Constructor Details
-
DefaultJsonMetaSchemaFactory
public DefaultJsonMetaSchemaFactory()
-
-
Method Details
-
getMetaSchema
public JsonMetaSchema getMetaSchema(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) Description copied from interface:JsonMetaSchemaFactory
Gets the meta-schema given the IRI.- Specified by:
getMetaSchema
in interfaceJsonMetaSchemaFactory
- Parameters:
iri
- the meta-schema IRIschemaFactory
- the schema factoryconfig
- the config- Returns:
- the meta-schema
-
loadMetaSchema
protected JsonMetaSchema loadMetaSchema(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) -
loadMetaSchemaBuilder
protected JsonMetaSchema.Builder loadMetaSchemaBuilder(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) -
getInstance
-