Top Methods
com.vladsch.flexmark.parser

public Interface PostProcessorFactory

extends Function<Document, PostProcessor>, Dependent
Known Direct Implementers
com.vladsch.flexmark.parser.block.DocumentPostProcessorFactory, com.vladsch.flexmark.parser.block.NodePostProcessorFactory
Imports
com.vladsch.flexmark.util.ast.Document, com.vladsch.flexmark.util.dependency.Dependent, org.jetbrains.annotations.NotNull, .Nullable, java.util.Map, .Set, java.util.function.Function

Method Summary

Modifier and TypeMethod and Description
public @NotNull PostProcessor

Returns:

post processor for the document
apply
(@NotNull Document
for which to create the post processor
document
)

Redeclares java.util.function.Function.apply.

Applies this function to the given argument.

public @Nullable Map<Class<?>, Set<Class<?>>>

Returns:

a map of desired node types mapped to a set of ancestors under which the post processor does not process the block
getNodeTypes
()

A map of nodes of interest as keys and values a set of classes, if implemented by an ancestors then the node should be excluded from processing by this processor i.e. DoNotDecorate.class if the processor adds links so that existing links will be ignored.

Inherited from com.vladsch.flexmark.util.dependency.Dependent:
affectsGlobalScopegetAfterDependentsgetBeforeDependents
Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public @NotNull PostProcessor apply(@NotNull Document document)

Redeclares java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
document:@NotNull Document

for which to create the post processor

Returns:@NotNull PostProcessor

post processor for the document

Annotations
@Override
@NotNull
getNodeTypesback to summary
public @Nullable Map<Class<?>, Set<Class<?>>> getNodeTypes()

A map of nodes of interest as keys and values a set of classes, if implemented by an ancestors then the node should be excluded from processing by this processor i.e. DoNotDecorate.class if the processor adds links so that existing links will be ignored.

Returns:@Nullable Map<Class<?>, Set<Class<?>>>

a map of desired node types mapped to a set of ancestors under which the post processor does not process the block

Annotations
@Nullable