Interface ResourcePolicy

All Known Implementing Classes:
DefaultResourcePolicy

public interface ResourcePolicy
  • Field Details

    • DENY_ALL

      static final ResourcePolicy DENY_ALL
      Deny loading of external resources.
    • DENY_EXTERNAL

      static final ResourcePolicy DENY_EXTERNAL
    • ALLOW_RELATIVE

      static final ResourcePolicy ALLOW_RELATIVE
      Allow external resources to be loaded relative to the base document.
    • ALLOW_ALL

      static final ResourcePolicy ALLOW_ALL
  • Method Details

    • resolveResourceURI

      @Nullable @Nullable URI resolveResourceURI(@Nullable @Nullable URI baseDocumentUri, @NotNull @NotNull String resourcePath)
    • resolveResourceURI

      @Nullable @Nullable URI resolveResourceURI(@Nullable @Nullable URI baseDocumentUri, @NotNull @NotNull URI resourceUri)