Top Inners Fields Constructors Methods
com.vladsch.flexmark.ext.abbreviation.internal

public Class AbbreviationNodePostProcessor

extends NodePostProcessor
Class Inheritance
Imports
com.vladsch.flexmark.ast.Text, .TextBase, com.vladsch.flexmark.ext.abbreviation.Abbreviation, .AbbreviationBlock, .AbbreviationExtension, com.vladsch.flexmark.ext.autolink.internal.AutolinkNodePostProcessor, com.vladsch.flexmark.parser.block.NodePostProcessor, .NodePostProcessorFactory, com.vladsch.flexmark.util.ast.*, com.vladsch.flexmark.util.sequence.BasedSequence, .Escaping, .ReplacedTextMapper, org.jetbrains.annotations.NotNull, .Nullable, java.util.*, java.util.regex.Matcher, .Pattern

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private HashMap<String, BasedSequence>
private Pattern

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private void
public void
Inherited from com.vladsch.flexmark.parser.block.NodePostProcessor:
processDocument

Field Detail

abbreviationMapback to summary
private HashMap<String, BasedSequence> abbreviationMap
abbreviationsback to summary
private Pattern abbreviations

Constructor Detail

AbbreviationNodePostProcessorback to summary
private AbbreviationNodePostProcessor(Document document)

Method Detail

computeAbbreviationsback to summary
private void computeAbbreviations(Document document)
processback to summary
public void process(@NotNull NodeTracker state, @NotNull Node node)
Annotations
@Override
com.vladsch.flexmark.ext.abbreviation.internal back to summary

public Class AbbreviationNodePostProcessor.Factory

extends NodePostProcessorFactory
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @NotNull NodePostProcessor
apply(@NotNull Document
the function argument
document
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

public @Nullable Set<Class<?>>
Inherited from com.vladsch.flexmark.parser.block.NodePostProcessorFactory:
addNodesaddNodeWithExclusionsaffectsGlobalScopeapplygetBeforeDependentsgetNodeTypes

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

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

Implements java.util.function.Function.apply.

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

Applies this function to the given argument.

Parameters
document:@NotNull Document

the function argument

Returns:@NotNull NodePostProcessor

the function result

Annotations
@NotNull
@Override
getAfterDependentsback to summary
public @Nullable Set<Class<?>> getAfterDependents()

Overrides com.vladsch.flexmark.parser.block.NodePostProcessorFactory.getAfterDependents.

Implements com.vladsch.flexmark.util.dependency.Dependent.getAfterDependents.

Returns:@Nullable Set<Class<?>>

Doc from com.vladsch.flexmark.util.dependency.Dependent.getAfterDependents.

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.

Annotations
@Nullable
@Override