Class GfmIssuesInlineParserExtension.Factory
java.lang.Object
com.vladsch.flexmark.ext.gfm.issues.internal.GfmIssuesInlineParserExtension.Factory
- All Implemented Interfaces:
InlineParserExtensionFactory
,Dependent
,Function<LightInlineParser,
InlineParserExtension>
- Enclosing class:
GfmIssuesInlineParserExtension
public static class GfmIssuesInlineParserExtension.Factory
extends Object
implements InlineParserExtensionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull InlineParserExtension
apply
(@NotNull LightInlineParser inlineParser) Create a paragraph pre processor for the document@NotNull CharSequence
Starting Characters for this inline processor
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getAfterDependents
- Specified by:
getAfterDependents
in interfaceDependent
- Returns:
- null or a list of dependents that must be executed before calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
-
getCharacters
Description copied from interface:InlineParserExtensionFactory
Starting Characters for this inline processor- Specified by:
getCharacters
in interfaceInlineParserExtensionFactory
- Returns:
- set of characters for which this processor should be invoked
-
getBeforeDependents
- Specified by:
getBeforeDependents
in interfaceDependent
- Returns:
- null or a list of dependents that must be executed after calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this preprocessor is called.
-
apply
@NotNull public @NotNull InlineParserExtension apply(@NotNull @NotNull LightInlineParser inlineParser) Description copied from interface:InlineParserExtensionFactory
Create a paragraph pre processor for the document- Specified by:
apply
in interfaceFunction<LightInlineParser,
InlineParserExtension> - Specified by:
apply
in interfaceInlineParserExtensionFactory
- Parameters:
inlineParser
- inline parser instance- Returns:
- inline parser extension
-
affectsGlobalScope
public boolean affectsGlobalScope()- Specified by:
affectsGlobalScope
in interfaceDependent
- Returns:
- true if this dependent affects the global scope, which means that any that depend on it have to be run after this dependent has run against all elements. Otherwise, the dependent can run on an element after its dependents have processed an element. parsed.
-