Package com.networknt.schema.resource
Class MetaSchemaIdResolver
java.lang.Object
com.networknt.schema.resource.MetaSchemaIdResolver
- All Implemented Interfaces:
SchemaIdResolver
Maps the JSON Schema meta schema to the class path location.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaSchemaIdResolverresolve(AbsoluteIri absoluteIRI) Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
-
Constructor Details
-
MetaSchemaIdResolver
public MetaSchemaIdResolver()
-
-
Method Details
-
getInstance
-
resolve
Description copied from interface:SchemaIdResolverResolves a schema $id indicated by an absolute IRI to a retrieval IRI.- Specified by:
resolvein interfaceSchemaIdResolver- Parameters:
absoluteIRI- the $id of the schema- Returns:
- the retrieval IRI or null if this resolver doesn't support the mapping
-