Class AutolinkExtension
- java.lang.Object
-
- com.vladsch.flexmark.ext.autolink.AutolinkExtension
-
- All Implemented Interfaces:
Parser.ParserExtension,Extension
public class AutolinkExtension extends java.lang.Object implements Parser.ParserExtension
-
-
Field Summary
Fields Modifier and Type Field Description static DataKey<java.lang.String>IGNORE_LINKS-
Fields inherited from interface com.vladsch.flexmark.util.misc.Extension
EMPTY_LIST
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAutolinkExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutolinkExtensioncreate()voidextend(Parser.Builder parserBuilder)This method is called on all extensions so that they can register their custom processorsvoidparserOptions(MutableDataHolder options)This method is called first on all extensions so that they can adjust the options that must be common to all extensions.
-
-
-
Field Detail
-
IGNORE_LINKS
public static final DataKey<java.lang.String> IGNORE_LINKS
-
-
Method Detail
-
create
public static AutolinkExtension create()
-
parserOptions
public void parserOptions(MutableDataHolder options)
Description copied from interface:Parser.ParserExtensionThis method is called first on all extensions so that they can adjust the options that must be common to all extensions.- Specified by:
parserOptionsin interfaceParser.ParserExtension- Parameters:
options- option set that will be used for the builder
-
extend
public void extend(Parser.Builder parserBuilder)
Description copied from interface:Parser.ParserExtensionThis method is called on all extensions so that they can register their custom processors- Specified by:
extendin interfaceParser.ParserExtension- 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)
-
-