Package com.networknt.schema.resource
Class PrefixSchemaIdResolver
java.lang.Object
com.networknt.schema.resource.PrefixSchemaIdResolver
- All Implemented Interfaces:
SchemaIdResolver
Prefix implementation of
SchemaIdResolver.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(AbsoluteIri absoluteIRI) Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
-
Constructor Details
-
PrefixSchemaIdResolver
-
-
Method Details
-
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
-