Package com.vladsch.flexmark.html
Interface AttributeProviderFactory
-
- All Superinterfaces:
Dependent
,java.util.function.Function<LinkResolverContext,AttributeProvider>
- All Known Implementing Classes:
AttributesAttributeProvider.Factory
,IndependentAttributeProviderFactory
,ZzzzzzAttributeProvider.Factory
public interface AttributeProviderFactory extends java.util.function.Function<LinkResolverContext,AttributeProvider>, Dependent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
affectsGlobalScope()
AttributeProvider
apply(LinkResolverContext context)
java.util.Set<java.lang.Class<?>>
getAfterDependents()
java.util.Set<java.lang.Class<?>>
getBeforeDependents()
-
-
-
Method Detail
-
getAfterDependents
@Nullable java.util.Set<java.lang.Class<?>> getAfterDependents()
- Specified by:
getAfterDependents
in interfaceDependent
- 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
@Nullable java.util.Set<java.lang.Class<?>> getBeforeDependents()
- Specified by:
getBeforeDependents
in interfaceDependent
- 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
boolean affectsGlobalScope()
- Specified by:
affectsGlobalScope
in interfaceDependent
- 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 AttributeProvider apply(@NotNull LinkResolverContext context)
- Specified by:
apply
in interfacejava.util.function.Function<LinkResolverContext,AttributeProvider>
-
-