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

    Modifier and Type
    Method
    Description
    resolve(AbsoluteIri schemaId)
    Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
  • Method Details

    • 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