Top Constructors Methods
com.vladsch.flexmark.parser.core

public Class ReferencePreProcessorFactory

extends Object
implements ParagraphPreProcessorFactory
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.parser.block.ParagraphPreProcessorFactory, com.vladsch.flexmark.util.dependency.Dependent, java.util.function.Function
Imports
com.vladsch.flexmark.parser.block.ParagraphPreProcessor, .ParagraphPreProcessorFactory, .ParserState, com.vladsch.flexmark.parser.internal.InlineParserImpl, org.jetbrains.annotations.Nullable, java.util.Set

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public ParagraphPreProcessor
apply(ParserState
parser state, document blocks have already been parsed at this stage
state
)

Implements com.vladsch.flexmark.parser.block.ParagraphPreProcessorFactory.apply.

Create a paragraph pre processor for the document

public @Nullable Set<Class<?>>
public @Nullable Set<Class<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ReferencePreProcessorFactoryback to summary
public ReferencePreProcessorFactory()

Method Detail

affectsGlobalScopeback to summary
public boolean affectsGlobalScope()

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

Returns:boolean

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

true if this dependent affects the global scope, which means that any that depend on it have to be run after this dependent has run against all elements. Otherwise, the dependent can run on an element after its dependents have processed an element. parsed.

Annotations
@Override
applyback to summary
public ParagraphPreProcessor apply(ParserState state)

Implements com.vladsch.flexmark.parser.block.ParagraphPreProcessorFactory.apply.

Doc from com.vladsch.flexmark.parser.block.ParagraphPreProcessorFactory.apply.

Create a paragraph pre processor for the document

Parameters
state:ParserState

parser state, document blocks have already been parsed at this stage

Returns:ParagraphPreProcessor

block pre-processor

Annotations
@Override
getAfterDependentsback to summary
public @Nullable Set<Class<?>> 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
getBeforeDependentsback to summary
public @Nullable Set<Class<?>> getBeforeDependents()

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

Returns:@Nullable Set<Class<?>>

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

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.

Annotations
@Nullable
@Override