Interface IResourceResolver

All Known Subinterfaces:
IBoundLoader, IDocumentLoader
All Known Implementing Classes:
AbstractContentValidator, AbstractResourceResolver, DefaultBoundLoader, JsonSchemaContentValidator, XmlSchemaContentValidator

public interface IResourceResolver
A common interface for implementation classes that load data resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    default IUriResolver
    Get the entity resolver associated with this loader.
    default URI
    resolve(URI uri)
    Resolve the provided URI, producing a resolved URI, which may point to a different resource than the provided URI.
  • Method Details

    • getUriResolver

      @Nullable default IUriResolver getUriResolver()
      Get the entity resolver associated with this loader.
      Returns:
      the entity resolver
    • resolve

      @NonNull default URI resolve(@NonNull URI uri)
      Resolve the provided URI, producing a resolved URI, which may point to a different resource than the provided URI.
      Parameters:
      uri - the URI to resolve
      Returns:
      the resulting URI