Class SyntheticLinkSample.AppendedMarkdownPostProcessor.Factory
- java.lang.Object
-
- com.vladsch.flexmark.parser.block.DocumentPostProcessorFactory
-
- com.vladsch.flexmark.java.samples.SyntheticLinkSample.AppendedMarkdownPostProcessor.Factory
-
- All Implemented Interfaces:
PostProcessorFactory
,Dependent
,java.util.function.Function<Document,PostProcessor>
- Enclosing class:
- SyntheticLinkSample.AppendedMarkdownPostProcessor
public static class SyntheticLinkSample.AppendedMarkdownPostProcessor.Factory extends DocumentPostProcessorFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostProcessor
apply(Document document)
java.util.Set<java.lang.Class<?>>
getAfterDependents()
-
Methods inherited from class com.vladsch.flexmark.parser.block.DocumentPostProcessorFactory
affectsGlobalScope, getBeforeDependents, getNodeTypes
-
-
-
-
Method Detail
-
apply
@NotNull public PostProcessor apply(@NotNull Document document)
- Parameters:
document
- for which to create the post processor- Returns:
- post processor for the document
-
getAfterDependents
@Nullable public java.util.Set<java.lang.Class<?>> getAfterDependents()
- Specified by:
getAfterDependents
in interfaceDependent
- Overrides:
getAfterDependents
in classDocumentPostProcessorFactory
- 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.
-
-