public abstract class NodePostProcessorFactory extends Object implements PostProcessorFactory
| Constructor and Description |
|---|
NodePostProcessorFactory(boolean ignored) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNodes(Class<?>... nodeTypes) |
protected void |
addNodeWithExclusions(Class<? extends com.vladsch.flexmark.ast.Node> nodeType,
Class<?>... excludeDescendantsOf) |
boolean |
affectsGlobalScope() |
abstract NodePostProcessor |
create(com.vladsch.flexmark.ast.Document document) |
Set<Class<? extends PostProcessorFactory>> |
getAfterDependents() |
Set<Class<? extends PostProcessorFactory>> |
getBeforeDependents() |
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.
|
public Set<Class<? extends PostProcessorFactory>> getAfterDependents()
getAfterDependents in interface com.vladsch.flexmark.util.dependency.Dependent<PostProcessorFactory>public Set<Class<? extends PostProcessorFactory>> getBeforeDependents()
getBeforeDependents in interface com.vladsch.flexmark.util.dependency.Dependent<PostProcessorFactory>public final boolean affectsGlobalScope()
affectsGlobalScope in interface com.vladsch.flexmark.util.dependency.Dependent<PostProcessorFactory>protected final void addNodeWithExclusions(Class<? extends com.vladsch.flexmark.ast.Node> nodeType, Class<?>... excludeDescendantsOf)
protected final void addNodes(Class<?>... nodeTypes)
public final Map<Class<?>,Set<Class<?>>> getNodeTypes()
PostProcessorFactorygetNodeTypes in interface PostProcessorFactorypublic abstract NodePostProcessor create(com.vladsch.flexmark.ast.Document document)
create in interface PostProcessorFactorycreate in interface com.vladsch.flexmark.util.ComputableFactory<PostProcessor,com.vladsch.flexmark.ast.Document>document - for which to create the post processorCopyright © 2018. All rights reserved.