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.
@FunctionalInterface public interface SchemaIdResolver
Schema ID resolver used to map the schema $id indicated by an absolute IRI to a retrieval IRI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbsoluteIriresolve(AbsoluteIri schemaId)Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
-
-
-
Method Detail
-
resolve
AbsoluteIri resolve(AbsoluteIri schemaId)
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
-
-