Interface BlockPreProcessorFactory
-
- All Superinterfaces:
com.vladsch.flexmark.util.dependency.Dependent
,Function<ParserState,BlockPreProcessor>
public interface BlockPreProcessorFactory extends Function<ParserState,BlockPreProcessor>, com.vladsch.flexmark.util.dependency.Dependent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull BlockPreProcessor
apply(@NotNull ParserState state)
Create a paragraph pre processor for the document@NotNull Set<Class<? extends com.vladsch.flexmark.util.ast.Block>>
getBlockTypes()
Block types that this pre-processors processes
-
-
-
Method Detail
-
getBlockTypes
@NotNull @NotNull Set<Class<? extends com.vladsch.flexmark.util.ast.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:
apply
in interfaceFunction<ParserState,BlockPreProcessor>
- Parameters:
state
- parser state, document blocks have already been parsed at this stage- Returns:
- block pre-processor
-
-