Package com.github.weisj.jsvg.parser
Class DefaultElementLoader
- java.lang.Object
-
- com.github.weisj.jsvg.parser.DefaultElementLoader
-
- All Implemented Interfaces:
ElementLoader
class DefaultElementLoader extends java.lang.Object implements ElementLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DefaultElementLoader.DefaultDocumentLoader
(package private) static interface
DefaultElementLoader.DocumentLoader
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.parser.ElementLoader
ElementLoader.ExternalDocumentPolicy
-
-
Field Summary
Fields Modifier and Type Field Description private static DefaultElementLoader.DocumentLoader
DEFAULT_DOCUMENT_LOADER
private DefaultElementLoader.DocumentLoader
documentLoader
-
Constructor Summary
Constructors Constructor Description DefaultElementLoader(ElementLoader.ExternalDocumentPolicy policy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static @NotNull DefaultElementLoader.DocumentLoader
createDocumentLoader(@Nullable ElementLoader.ExternalDocumentPolicy policy)
<T> T
loadElement(@NotNull java.lang.Class<T> type, @Nullable java.lang.String value, @NotNull ParsedDocument document, @NotNull AttributeParser attributeParser)
-
-
-
Field Detail
-
DEFAULT_DOCUMENT_LOADER
private static final DefaultElementLoader.DocumentLoader DEFAULT_DOCUMENT_LOADER
-
documentLoader
private final DefaultElementLoader.DocumentLoader documentLoader
-
-
Constructor Detail
-
DefaultElementLoader
DefaultElementLoader(ElementLoader.ExternalDocumentPolicy policy)
-
-
Method Detail
-
createDocumentLoader
@NotNull private static @NotNull DefaultElementLoader.DocumentLoader createDocumentLoader(@Nullable @Nullable ElementLoader.ExternalDocumentPolicy policy)
-
loadElement
@Nullable public <T> T loadElement(@NotNull @NotNull java.lang.Class<T> type, @Nullable @Nullable java.lang.String value, @NotNull @NotNull ParsedDocument document, @NotNull @NotNull AttributeParser attributeParser)
- Specified by:
loadElement
in interfaceElementLoader
-
-