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 Object implements NodeFormatterFactory
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • getBeforeDependents

      @Nullable public @Nullable Set<Class<?>> getBeforeDependents()
      Specified by:
      getBeforeDependents in interface Dependent
      Specified by:
      getBeforeDependents in interface NodeFormatterFactory
      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: NodeFormatterFactory
      Create a new node renderer for the specified rendering context.
      Specified by:
      create in interface NodeFormatterFactory
      Parameters:
      options - the context for rendering (normally passed on to the node renderer)
      Returns:
      a node renderer