Package com.networknt.schema.resource
Interface SchemaIdResolver
- All Known Implementing Classes:
MapSchemaIdResolver,MetaSchemaIdResolver,PrefixSchemaIdResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Schema ID resolver used to map the schema $id indicated by an absolute IRI to a retrieval
IRI.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(AbsoluteIri schemaId) Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
-
Method Details
-
resolve
Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.- Parameters:
schemaId- the $id of the schema- Returns:
- the retrieval IRI or null if this resolver doesn't support the mapping
-