com.vladsch.flexmark.formatter.NodeFormatterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-formatter Show documentation
Show all versions of flexmark-formatter Show documentation
flexmark-java extension for formatter
package com.vladsch.flexmark.formatter;
import com.vladsch.flexmark.util.data.DataHolder;
/**
* Factory for instantiating new node renderers when rendering is done.
*/
public interface NodeFormatterFactory {
/**
* Create a new node renderer for the specified rendering context.
*
* @param options the context for rendering (normally passed on to the node renderer)
* @return a node renderer
*/
NodeFormatter create(DataHolder options);
}