Package com.networknt.schema
Class DefaultJsonMetaSchemaFactory
- java.lang.Object
-
- com.networknt.schema.DefaultJsonMetaSchemaFactory
-
- All Implemented Interfaces:
JsonMetaSchemaFactory
public class DefaultJsonMetaSchemaFactory extends Object implements JsonMetaSchemaFactory
DefaultJsonMetaSchemaFactory
.
-
-
Constructor Summary
Constructors Constructor Description DefaultJsonMetaSchemaFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultJsonMetaSchemaFactory
getInstance()
JsonMetaSchema
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)
-
-
-
Method Detail
-
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
public static DefaultJsonMetaSchemaFactory getInstance()
-
-