Class DocumentPostProcessorFactory
java.lang.Object
com.vladsch.flexmark.parser.block.DocumentPostProcessorFactory
- All Implemented Interfaces:
PostProcessorFactory, Dependent, Function<Document, PostProcessor>
- Direct Known Subclasses:
ZzzzzzDocumentPostProcessor.Factory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanNode types that this post processor processesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PostProcessorFactory
apply
-
Constructor Details
-
DocumentPostProcessorFactory
public DocumentPostProcessorFactory()
-
-
Method Details
-
getNodeTypes
Node types that this post processor processes- Specified by:
getNodeTypesin interfacePostProcessorFactory- Returns:
- set of block node types
-
getAfterDependents
- Specified by:
getAfterDependentsin interfaceDependent- 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.
-
getBeforeDependents
- Specified by:
getBeforeDependentsin interfaceDependent- 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.
-
affectsGlobalScope
public final boolean affectsGlobalScope()- Specified by:
affectsGlobalScopein interfaceDependent- Returns:
- 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.
-