Class MutableLoaderContext
java.lang.Object
com.github.weisj.jsvg.parser.impl.MutableLoaderContext
- All Implemented Interfaces:
LoaderContext, LoaderContext.Builder
public final class MutableLoaderContext
extends Object
implements LoaderContext, LoaderContext.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface LoaderContext
LoaderContext.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotNull CssParserprivate static final CssParserprivate static final ElementLoaderprivate static final PaintParserprivate static final ResourceLoaderprivate @NotNull DocumentLimitsprivate @NotNull ElementLoaderprivate @NotNull PaintParserprivate @Nullable DomProcessorprivate @NotNull ResourceLoaderprivate @NotNull ResourcePolicy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull LoaderContextbuild()static @NotNull MutableLoaderContext@NotNull CssParser@NotNull LoaderContext.Builder@NotNull DocumentLimits@NotNull LoaderContext.BuilderdocumentLimits(@NotNull DocumentLimits documentLimits) @NotNull ElementLoader@NotNull LoaderContext.BuilderelementLoader(@NotNull ElementLoader elementLoader) @NotNull ResourcePolicy@NotNull LoaderContext.BuilderexternalResourcePolicy(@NotNull ResourcePolicy policy) @NotNull PaintParser@NotNull LoaderContext.BuilderpaintParser(@NotNull PaintParser paintParser) @Nullable DomProcessor@NotNull LoaderContext.BuilderpreProcessor(@Nullable DomProcessor preProcessor) @NotNull ResourceLoader@NotNull LoaderContext.BuilderresourceLoader(@NotNull ResourceLoader resourceLoader)
-
Field Details
-
DEFAULT_RESOURCE_LOADER
-
DEFAULT_ELEMENT_LOADER
-
DEFAULT_CSS_PARSER
-
DEFAULT_PAINT_PARSER
-
preProcessor
-
cssParser
-
paintParser
-
resourceLoader
-
elementLoader
-
resourcePolicy
-
documentLimits
-
-
Constructor Details
-
MutableLoaderContext
public MutableLoaderContext()
-
-
Method Details
-
createDefault
-
preProcessor
- Specified by:
preProcessorin interfaceLoaderContext
-
cssParser
- Specified by:
cssParserin interfaceLoaderContext
-
paintParser
- Specified by:
paintParserin interfaceLoaderContext
-
resourceLoader
- Specified by:
resourceLoaderin interfaceLoaderContext
-
elementLoader
- Specified by:
elementLoaderin interfaceLoaderContext
-
externalResourcePolicy
- Specified by:
externalResourcePolicyin interfaceLoaderContext
-
documentLimits
- Specified by:
documentLimitsin interfaceLoaderContext
-
preProcessor
@NotNull public @NotNull LoaderContext.Builder preProcessor(@Nullable @Nullable DomProcessor preProcessor) - Specified by:
preProcessorin interfaceLoaderContext.Builder
-
cssParser
- Specified by:
cssParserin interfaceLoaderContext.Builder
-
paintParser
@NotNull public @NotNull LoaderContext.Builder paintParser(@NotNull @NotNull PaintParser paintParser) - Specified by:
paintParserin interfaceLoaderContext.Builder
-
resourceLoader
@NotNull public @NotNull LoaderContext.Builder resourceLoader(@NotNull @NotNull ResourceLoader resourceLoader) - Specified by:
resourceLoaderin interfaceLoaderContext.Builder
-
elementLoader
@NotNull public @NotNull LoaderContext.Builder elementLoader(@NotNull @NotNull ElementLoader elementLoader) - Specified by:
elementLoaderin interfaceLoaderContext.Builder
-
externalResourcePolicy
@NotNull public @NotNull LoaderContext.Builder externalResourcePolicy(@NotNull @NotNull ResourcePolicy policy) - Specified by:
externalResourcePolicyin interfaceLoaderContext.Builder
-
documentLimits
@NotNull public @NotNull LoaderContext.Builder documentLimits(@NotNull @NotNull DocumentLimits documentLimits) - Specified by:
documentLimitsin interfaceLoaderContext.Builder
-
build
- Specified by:
buildin interfaceLoaderContext.Builder
-