Class IncludeNodePostProcessor.Factory
- java.lang.Object
-
- com.vladsch.flexmark.parser.block.NodePostProcessorFactory
-
- com.vladsch.flexmark.ext.jekyll.tag.internal.IncludeNodePostProcessor.Factory
-
- All Implemented Interfaces:
PostProcessorFactory
,Dependent
,java.util.function.Function<Document,PostProcessor>
- Enclosing class:
- IncludeNodePostProcessor
public static class IncludeNodePostProcessor.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<?>>
getBeforeDependents()
-
Methods inherited from class com.vladsch.flexmark.parser.block.NodePostProcessorFactory
addNodes, addNodeWithExclusions, affectsGlobalScope, getAfterDependents, getNodeTypes
-
-
-
-
Method Detail
-
getBeforeDependents
@Nullable public java.util.Set<java.lang.Class<?>> getBeforeDependents()
- Specified by:
getBeforeDependents
in interfaceDependent
- Overrides:
getBeforeDependents
in classNodePostProcessorFactory
- 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 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
-
-