- java.lang.Object
-
- com.github.weisj.jsvg.parser.impl.MutableLoaderContext
-
- All Implemented Interfaces:
LoaderContext,LoaderContext.Builder
public final class MutableLoaderContext extends java.lang.Object implements LoaderContext, LoaderContext.Builder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.parser.LoaderContext
LoaderContext.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull CssParsercssParserprivate static CssParserDEFAULT_CSS_PARSERprivate static ElementLoaderDEFAULT_ELEMENT_LOADERprivate static PaintParserDEFAULT_PAINT_PARSERprivate static ResourceLoaderDEFAULT_RESOURCE_LOADERprivate @NotNull DocumentLimitsdocumentLimitsprivate @NotNull ElementLoaderelementLoaderprivate @NotNull PaintParserpaintParserprivate @Nullable DomProcessorpreProcessorprivate @NotNull ResourceLoaderresourceLoaderprivate @NotNull ResourcePolicyresourcePolicy
-
Constructor Summary
Constructors Constructor Description MutableLoaderContext()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_RESOURCE_LOADER
private static final ResourceLoader DEFAULT_RESOURCE_LOADER
-
DEFAULT_ELEMENT_LOADER
private static final ElementLoader DEFAULT_ELEMENT_LOADER
-
DEFAULT_CSS_PARSER
private static final CssParser DEFAULT_CSS_PARSER
-
DEFAULT_PAINT_PARSER
private static final PaintParser DEFAULT_PAINT_PARSER
-
preProcessor
@Nullable private @Nullable DomProcessor preProcessor
-
cssParser
@NotNull private @NotNull CssParser cssParser
-
paintParser
@NotNull private @NotNull PaintParser paintParser
-
resourceLoader
@NotNull private @NotNull ResourceLoader resourceLoader
-
elementLoader
@NotNull private @NotNull ElementLoader elementLoader
-
resourcePolicy
@NotNull private @NotNull ResourcePolicy resourcePolicy
-
documentLimits
@NotNull private @NotNull DocumentLimits documentLimits
-
-
Method Detail
-
createDefault
@NotNull public static @NotNull MutableLoaderContext createDefault()
-
preProcessor
@Nullable public @Nullable DomProcessor preProcessor()
- Specified by:
preProcessorin interfaceLoaderContext
-
cssParser
@NotNull public @NotNull CssParser cssParser()
- Specified by:
cssParserin interfaceLoaderContext
-
paintParser
@NotNull public @NotNull PaintParser paintParser()
- Specified by:
paintParserin interfaceLoaderContext
-
resourceLoader
@NotNull public @NotNull ResourceLoader resourceLoader()
- Specified by:
resourceLoaderin interfaceLoaderContext
-
elementLoader
@NotNull public @NotNull ElementLoader elementLoader()
- Specified by:
elementLoaderin interfaceLoaderContext
-
externalResourcePolicy
@NotNull public @NotNull ResourcePolicy externalResourcePolicy()
- Specified by:
externalResourcePolicyin interfaceLoaderContext
-
documentLimits
@NotNull public @NotNull DocumentLimits documentLimits()
- Specified by:
documentLimitsin interfaceLoaderContext
-
preProcessor
@NotNull public @NotNull LoaderContext.Builder preProcessor(@Nullable @Nullable DomProcessor preProcessor)
- Specified by:
preProcessorin interfaceLoaderContext.Builder
-
cssParser
@NotNull public @NotNull LoaderContext.Builder cssParser(@NotNull @NotNull CssParser 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
@NotNull public @NotNull LoaderContext build()
- Specified by:
buildin interfaceLoaderContext.Builder
-
-