Package com.vladsch.flexmark.parser
Interface Parser.ParserExtension
-
- All Superinterfaces:
Extension
- All Known Implementing Classes:
AbbreviationExtension
,AdmonitionExtension
,AnchorLinkExtension
,AsideExtension
,AttributesExtension
,AutolinkExtension
,DefinitionExtension
,EmojiExtension
,EnumeratedReferenceExtension
,EscapedCharacterExtension
,FootnoteExtension
,GfmIssuesExtension
,GfmUsersExtension
,GitLabExtension
,InsExtension
,JekyllFrontMatterExtension
,JekyllTagExtension
,JiraConverterExtension
,MacroExtension
,MacrosExtension
,MediaTagsExtension
,ResizableImageExtension
,SimTocExtension
,SpecExampleExtension
,StrikethroughExtension
,StrikethroughSubscriptExtension
,SubscriptExtension
,SuperscriptExtension
,SyntheticLinkSample.SyntheticLinkExtension
,TablesExtension
,TaskListExtension
,ThreadLocalOptionsExtension
,TocExtension
,TypographicExtension
,WikiLinkExtension
,YamlFrontMatterExtension
,YouTrackConverterExtension
,YouTubeLinkExtension
,YouTubeLinkSample.YouTubeLinkExtension
,ZzzzzzExtension
- Enclosing class:
- Parser
public static interface Parser.ParserExtension extends Extension
Extension forParser
.Implementations of this interface should done by all Extensions that extend the core parser
Each will be called via
extend(Builder)
method giving it a chance to call back on the builder methods to register parser extension points
-
-
Field Summary
-
Fields inherited from interface com.vladsch.flexmark.util.misc.Extension
EMPTY_LIST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
extend(Parser.Builder parserBuilder)
This method is called on all extensions so that they can register their custom processorsvoid
parserOptions(MutableDataHolder options)
This method is called first on all extensions so that they can adjust the options that must be common to all extensions.
-
-
-
Method Detail
-
parserOptions
void parserOptions(MutableDataHolder options)
This method is called first on all extensions so that they can adjust the options that must be common to all extensions.- Parameters:
options
- option set that will be used for the builder
-
extend
void extend(Parser.Builder parserBuilder)
This method is called on all extensions so that they can register their custom processors- Parameters:
parserBuilder
- parser builder with which to register extensions- See Also:
Parser.Builder.customBlockParserFactory(CustomBlockParserFactory)
,Parser.Builder.customInlineParserExtensionFactory(InlineParserExtensionFactory)
,Parser.Builder.customInlineParserFactory(InlineParserFactory)
,Parser.Builder.customDelimiterProcessor(DelimiterProcessor)
,Parser.Builder.postProcessorFactory(PostProcessorFactory)
,Parser.Builder.paragraphPreProcessorFactory(ParagraphPreProcessorFactory)
,Parser.Builder.blockPreProcessorFactory(BlockPreProcessorFactory)
,Parser.Builder.linkRefProcessorFactory(LinkRefProcessorFactory)
,Parser.Builder.specialLeadInHandler(SpecialLeadInHandler)
-
-