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