Package com.vladsch.flexmark.html
Class IndependentLinkResolverFactory
java.lang.Object
com.vladsch.flexmark.html.IndependentLinkResolverFactory
- All Implemented Interfaces:
LinkResolverFactory
,Dependent
,Function<LinkResolverBasicContext,
LinkResolver>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.LinkResolverFactory
apply
-
Constructor Details
-
IndependentLinkResolverFactory
public IndependentLinkResolverFactory()
-
-
Method Details
-
getAfterDependents
- Specified by:
getAfterDependents
in interfaceDependent
- Specified by:
getAfterDependents
in interfaceLinkResolverFactory
- 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:
getBeforeDependents
in interfaceDependent
- Specified by:
getBeforeDependents
in interfaceLinkResolverFactory
- 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:
affectsGlobalScope
in interfaceDependent
- Specified by:
affectsGlobalScope
in interfaceLinkResolverFactory
- 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.
-