Class IndependentLinkResolverFactory

java.lang.Object
com.vladsch.flexmark.html.IndependentLinkResolverFactory
All Implemented Interfaces:
LinkResolverFactory, Dependent, Function<LinkResolverBasicContext,LinkResolver>

public abstract class IndependentLinkResolverFactory extends Object implements LinkResolverFactory
  • Constructor Details

    • IndependentLinkResolverFactory

      public IndependentLinkResolverFactory()
  • Method Details

    • getAfterDependents

      @Nullable public @Nullable Set<Class<?>> getAfterDependents()
      Specified by:
      getAfterDependents in interface Dependent
      Specified by:
      getAfterDependents in interface LinkResolverFactory
      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 Set<Class<?>> getBeforeDependents()
      Specified by:
      getBeforeDependents in interface Dependent
      Specified by:
      getBeforeDependents in interface LinkResolverFactory
      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 interface Dependent
      Specified by:
      affectsGlobalScope in interface LinkResolverFactory
      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.