Interface CustomBlockParserFactory
-
- All Superinterfaces:
com.vladsch.flexmark.util.dependency.Dependent
,Function<com.vladsch.flexmark.util.data.DataHolder,BlockParserFactory>
- All Known Implementing Classes:
BlockQuoteParser.Factory
,FencedCodeBlockParser.Factory
,HeadingParser.Factory
,HtmlBlockParser.Factory
,IndentedCodeBlockParser.Factory
,ListBlockParser.Factory
,ThematicBreakParser.Factory
public interface CustomBlockParserFactory extends Function<com.vladsch.flexmark.util.data.DataHolder,BlockParserFactory>, com.vladsch.flexmark.util.dependency.Dependent
Custom block parser factory to create parser instance specific block parser factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull BlockParserFactory
apply(@NotNull com.vladsch.flexmark.util.data.DataHolder options)
default @Nullable com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler
getLeadInHandler(@NotNull com.vladsch.flexmark.util.data.DataHolder options)
-
-
-
Method Detail
-
apply
@NotNull @NotNull BlockParserFactory apply(@NotNull @NotNull com.vladsch.flexmark.util.data.DataHolder options)
- Specified by:
apply
in interfaceFunction<com.vladsch.flexmark.util.data.DataHolder,BlockParserFactory>
-
getLeadInHandler
@Nullable default @Nullable com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler getLeadInHandler(@NotNull @NotNull com.vladsch.flexmark.util.data.DataHolder options)
- Parameters:
options
- options for this parser session- Returns:
- special lead in character handler for the block parser elements
-
-