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 DefaultJsonMetaSchemaFactorygetMetaSchema(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) Gets the meta-schema given the IRI.protected JsonMetaSchemaloadMetaSchema(String iri, JsonSchemaFactory schemaFactory, SchemaValidatorsConfig config) protected JsonMetaSchema.BuilderloadMetaSchemaBuilder(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:JsonMetaSchemaFactoryGets the meta-schema given the IRI.- Specified by:
getMetaSchemain 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
-