Class CoreNodeRenderer
- java.lang.Object
-
- com.vladsch.flexmark.html.renderer.CoreNodeRenderer
-
- All Implemented Interfaces:
NodeRenderer
public class CoreNodeRenderer extends java.lang.Object implements NodeRenderer
The node renderer that renders all the core nodes (comes last in the order of node renderers).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoreNodeRenderer.Factory
-
Field Summary
Fields Modifier and Type Field Description static AttributablePart
CODE_CONTENT
static AttributablePart
LOOSE_LIST_ITEM
static AttributablePart
PARAGRAPH_LINE
static AttributablePart
TIGHT_LIST_ITEM
-
Constructor Summary
Constructors Constructor Description CoreNodeRenderer(DataHolder options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<NodeRenderingHandler<?>>
getNodeRenderingHandlers()
static boolean
isSuppressedLinkPrefix(java.lang.CharSequence url, NodeRendererContext context)
static void
renderHtmlBlock(HtmlBlockBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape, boolean trimSpaces)
static void
renderInlineHtml(HtmlInlineBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)
void
renderTextBlockParagraphLines(Paragraph node, NodeRendererContext context, HtmlWriter html, boolean wrapTextInSpan)
-
-
-
Field Detail
-
LOOSE_LIST_ITEM
public static final AttributablePart LOOSE_LIST_ITEM
-
TIGHT_LIST_ITEM
public static final AttributablePart TIGHT_LIST_ITEM
-
PARAGRAPH_LINE
public static final AttributablePart PARAGRAPH_LINE
-
CODE_CONTENT
public static final AttributablePart CODE_CONTENT
-
-
Constructor Detail
-
CoreNodeRenderer
public CoreNodeRenderer(DataHolder options)
-
-
Method Detail
-
getNodeRenderingHandlers
public java.util.Set<NodeRenderingHandler<?>> getNodeRenderingHandlers()
- Specified by:
getNodeRenderingHandlers
in interfaceNodeRenderer
- Returns:
- the mapping of nodes this renderer handles to rendering function
-
renderTextBlockParagraphLines
public void renderTextBlockParagraphLines(Paragraph node, NodeRendererContext context, HtmlWriter html, boolean wrapTextInSpan)
-
renderHtmlBlock
public static void renderHtmlBlock(HtmlBlockBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape, boolean trimSpaces)
-
renderInlineHtml
public static void renderInlineHtml(HtmlInlineBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)
-
isSuppressedLinkPrefix
public static boolean isSuppressedLinkPrefix(java.lang.CharSequence url, NodeRendererContext context)
-
-