- java.lang.Object
-
- com.github.weisj.jsvg.parser.impl.ExternalDocumentLoader
-
- All Implemented Interfaces:
DefaultElementLoader.DocumentLoader
class ExternalDocumentLoader extends java.lang.Object implements DefaultElementLoader.DocumentLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ExternalDocumentLoader.CachedDocument
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.util.Map<java.net.URI,ExternalDocumentLoader.CachedDocument>
cache
private static java.util.logging.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description ExternalDocumentLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private @Nullable DomDocument
locateDocument(@NotNull DomDocument document, @NotNull java.lang.String name)
@Nullable DomDocument
resolveDocument(@NotNull DomDocument document, @NotNull java.lang.String name)
-
-
-
Field Detail
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
cache
@NotNull private final @NotNull java.util.Map<java.net.URI,ExternalDocumentLoader.CachedDocument> cache
-
-
Method Detail
-
resolveDocument
@Nullable public @Nullable DomDocument resolveDocument(@NotNull @NotNull DomDocument document, @NotNull @NotNull java.lang.String name)
- Specified by:
resolveDocument
in interfaceDefaultElementLoader.DocumentLoader
-
locateDocument
@Nullable private @Nullable DomDocument locateDocument(@NotNull @NotNull DomDocument document, @NotNull @NotNull java.lang.String name)
-
-