Class SpecExampleNodeFormatter.Factory
- java.lang.Object
-
- com.vladsch.flexmark.ext.spec.example.internal.SpecExampleNodeFormatter.Factory
-
- All Implemented Interfaces:
NodeFormatterFactory,Dependent
- Enclosing class:
- SpecExampleNodeFormatter
public static class SpecExampleNodeFormatter.Factory extends java.lang.Object implements NodeFormatterFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull NodeFormattercreate(@NotNull DataHolder options)Create a new node renderer for the specified rendering context.@Nullable java.util.Set<java.lang.Class<?>>getBeforeDependents()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vladsch.flexmark.formatter.NodeFormatterFactory
affectsGlobalScope, getAfterDependents
-
-
-
-
Method Detail
-
getBeforeDependents
@Nullable public @Nullable java.util.Set<java.lang.Class<?>> getBeforeDependents()
- Specified by:
getBeforeDependentsin interfaceDependent- Specified by:
getBeforeDependentsin interfaceNodeFormatterFactory- Returns:
- null or a list of processors before which this has to be run if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this pre processor is called.
-
create
@NotNull public @NotNull NodeFormatter create(@NotNull @NotNull DataHolder options)
Description copied from interface:NodeFormatterFactoryCreate a new node renderer for the specified rendering context.- Specified by:
createin interfaceNodeFormatterFactory- Parameters:
options- the context for rendering (normally passed on to the node renderer)- Returns:
- a node renderer
-
-