All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.html2md.converter.NodeRendererFactory Maven / Gradle / Ivy

package com.vladsch.flexmark.html2md.converter;

import com.vladsch.flexmark.html.renderer.NodeRenderer;
import com.vladsch.flexmark.util.data.DataHolder;

import java.util.function.Function;

/**
 * Factory for instantiating new node renderers when rendering is done.
 */
public interface NodeRendererFactory extends Function {
    /**
     * 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
     */
    NodeRenderer apply(DataHolder options);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy