Interface BlockPreProcessorFactory
-
- All Superinterfaces:
Dependent,java.util.function.Function<ParserState,BlockPreProcessor>
- All Known Implementing Classes:
DefinitionListBlockPreProcessor.Factory,DefinitionListItemBlockPreProcessor.Factory,TaskListItemBlockPreProcessor.Factory,ZzzzzzBlockPreProcessor.Factory
public interface BlockPreProcessorFactory extends java.util.function.Function<ParserState,BlockPreProcessor>, Dependent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull BlockPreProcessorapply(@NotNull ParserState state)Create a paragraph pre processor for the document@NotNull java.util.Set<java.lang.Class<? extends Block>>getBlockTypes()Block types that this pre-processors processes-
Methods inherited from interface com.vladsch.flexmark.util.dependency.Dependent
affectsGlobalScope, getAfterDependents, getBeforeDependents
-
-
-
-
Method Detail
-
getBlockTypes
@NotNull @NotNull java.util.Set<java.lang.Class<? extends Block>> getBlockTypes()
Block types that this pre-processors processes- Returns:
- set of block node types
-
apply
@NotNull @NotNull BlockPreProcessor apply(@NotNull @NotNull ParserState state)
Create a paragraph pre processor for the document- Specified by:
applyin interfacejava.util.function.Function<ParserState,BlockPreProcessor>- Parameters:
state- parser state, document blocks have already been parsed at this stage- Returns:
- block pre-processor
-
-