Package com.vladsch.flexmark.html
Class IndependentAttributeProviderFactory
- java.lang.Object
-
- com.vladsch.flexmark.html.IndependentAttributeProviderFactory
-
- All Implemented Interfaces:
AttributeProviderFactory,Dependent,java.util.function.Function<LinkResolverContext,AttributeProvider>
- Direct Known Subclasses:
AttributesAttributeProvider.Factory,ZzzzzzAttributeProvider.Factory
public abstract class IndependentAttributeProviderFactory extends java.lang.Object implements AttributeProviderFactory
-
-
Constructor Summary
Constructors Constructor Description IndependentAttributeProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaffectsGlobalScope()@Nullable java.util.Set<java.lang.Class<?>>getAfterDependents()@Nullable java.util.Set<java.lang.Class<?>>getBeforeDependents()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vladsch.flexmark.html.AttributeProviderFactory
apply
-
-
-
-
Method Detail
-
getAfterDependents
@Nullable public @Nullable java.util.Set<java.lang.Class<?>> getAfterDependents()
- Specified by:
getAfterDependentsin interfaceAttributeProviderFactory- Specified by:
getAfterDependentsin 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 public @Nullable java.util.Set<java.lang.Class<?>> getBeforeDependents()
- Specified by:
getBeforeDependentsin interfaceAttributeProviderFactory- Specified by:
getBeforeDependentsin 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
public boolean affectsGlobalScope()
- Specified by:
affectsGlobalScopein interfaceAttributeProviderFactory- Specified by:
affectsGlobalScopein 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.
-
-