Module com.github.weisj.jsvg
Interface ResourcePolicy
-
- All Known Implementing Classes:
DefaultResourcePolicy
public interface ResourcePolicy
-
-
Field Summary
Fields Modifier and Type Field Description static ResourcePolicy
ALLOW_ALL
static ResourcePolicy
ALLOW_RELATIVE
Allow external resources to be loaded relative to the base document.static ResourcePolicy
DENY_ALL
Deny loading of external resources.static ResourcePolicy
DENY_EXTERNAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.net.URI
resolveResourceURI(@Nullable java.net.URI baseDocumentUri, @NotNull java.lang.String resourcePath)
@Nullable java.net.URI
resolveResourceURI(@Nullable java.net.URI baseDocumentUri, @NotNull java.net.URI resourceUri)
-
-
-
Field Detail
-
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 Detail
-
resolveResourceURI
@Nullable @Nullable java.net.URI resolveResourceURI(@Nullable @Nullable java.net.URI baseDocumentUri, @NotNull @NotNull java.lang.String resourcePath)
-
resolveResourceURI
@Nullable @Nullable java.net.URI resolveResourceURI(@Nullable @Nullable java.net.URI baseDocumentUri, @NotNull @NotNull java.net.URI resourceUri)
-
-