Class FileUriContentResolver.Factory
java.lang.Object
com.vladsch.flexmark.html.renderer.FileUriContentResolver.Factory
- All Implemented Interfaces:
UriContentResolverFactory, Dependent, Function<LinkResolverBasicContext, UriContentResolver>
- Enclosing class:
FileUriContentResolver
public static class FileUriContentResolver.Factory
extends Object
implements UriContentResolverFactory
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getAfterDependents
- Specified by:
getAfterDependentsin interfaceDependent- Specified by:
getAfterDependentsin interfaceUriContentResolverFactory- Returns:
- null or a list of dependents that must be executed before calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
-
getBeforeDependents
- Specified by:
getBeforeDependentsin interfaceDependent- Specified by:
getBeforeDependentsin interfaceUriContentResolverFactory- Returns:
- null or a list of dependents that must be executed after calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
-
affectsGlobalScope
public boolean affectsGlobalScope()- Specified by:
affectsGlobalScopein interfaceDependent- Specified by:
affectsGlobalScopein interfaceUriContentResolverFactory- Returns:
- true if this dependent affects the global scope, which means that any that depend on it have to be run after this dependent has run against all elements. Otherwise, the dependent can run on an element after its dependents have processed an element. parsed.
-
apply
@NotNull public @NotNull UriContentResolver apply(@NotNull @NotNull LinkResolverBasicContext context) - Specified by:
applyin interfaceFunction<LinkResolverBasicContext, UriContentResolver>- Specified by:
applyin interfaceUriContentResolverFactory
-