Package com.github.weisj.jsvg.parser
Class DefaultElementLoader
java.lang.Object
com.github.weisj.jsvg.parser.DefaultElementLoader
- All Implemented Interfaces:
ElementLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
(package private) static interface
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.parser.ElementLoader
ElementLoader.ExternalDocumentPolicy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DefaultElementLoader.DocumentLoader
private final DefaultElementLoader.DocumentLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static @NotNull DefaultElementLoader.DocumentLoader
createDocumentLoader
(@Nullable ElementLoader.ExternalDocumentPolicy policy) <T> T
loadElement
(@NotNull Class<T> type, @Nullable String value, @NotNull ParsedDocument document, @NotNull AttributeParser attributeParser)
-
Field Details
-
DEFAULT_DOCUMENT_LOADER
-
documentLoader
-
-
Constructor Details
-
DefaultElementLoader
DefaultElementLoader(ElementLoader.ExternalDocumentPolicy policy)
-
-
Method Details
-
createDocumentLoader
@NotNull private static @NotNull DefaultElementLoader.DocumentLoader createDocumentLoader(@Nullable @Nullable ElementLoader.ExternalDocumentPolicy policy) -
loadElement
@Nullable public <T> T loadElement(@NotNull @NotNull Class<T> type, @Nullable @Nullable String value, @NotNull @NotNull ParsedDocument document, @NotNull @NotNull AttributeParser attributeParser) - Specified by:
loadElement
in interfaceElementLoader
-