@SuppressWarnings("MethodMayBeStatic") void render(HtmlInnerBlockComment node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlCommentBlocks, context.getHtmlOptions().escapeHtmlCommentBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlCommentBlock node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlCommentBlocks, context.getHtmlOptions().escapeHtmlCommentBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlInnerBlock node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlBlocks, context.getHtmlOptions().escapeHtmlBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlBlock node, NodeRendererContext context, HtmlWriter html) { html.line(); final HtmlRendererOptions htmlOptions = context.getHtmlOptions(); if (htmlOptions.sourceWrapHtmlBlocks) { html.srcPos(node.getChars()).withAttr(AttributablePart.NODE_POSITION).tag("div").indent().line(); } if (node.hasChildren()) { // inner blocks handle rendering context.renderChildren(node); } else { renderHtmlBlock(node, context, html, htmlOptions.suppressHtmlBlocks, htmlOptions.escapeHtmlBlocks, false); } if (htmlOptions.sourceWrapHtmlBlocks) { html.unIndent().tag("/div"); } html.lineIf(htmlOptions.htmlBlockCloseTagEol); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlInnerBlockComment node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlCommentBlocks, context.getHtmlOptions().escapeHtmlCommentBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlCommentBlock node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlCommentBlocks, context.getHtmlOptions().escapeHtmlCommentBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlInnerBlock node, NodeRendererContext context, HtmlWriter html) { renderHtmlBlock(node, context, html, context.getHtmlOptions().suppressHtmlBlocks, context.getHtmlOptions().escapeHtmlBlocks, false); }
@SuppressWarnings("MethodMayBeStatic") void render(HtmlBlock node, NodeRendererContext context, HtmlWriter html) { html.line(); final HtmlRendererOptions htmlOptions = context.getHtmlOptions(); if (htmlOptions.sourceWrapHtmlBlocks) { html.srcPos(node.getChars()).withAttr(AttributablePart.NODE_POSITION).tag("div").indent().line(); } if (node.hasChildren()) { // inner blocks handle rendering context.renderChildren(node); } else { renderHtmlBlock(node, context, html, htmlOptions.suppressHtmlBlocks, htmlOptions.escapeHtmlBlocks, false); } if (htmlOptions.sourceWrapHtmlBlocks) { html.unIndent().tag("/div"); } html.lineIf(htmlOptions.htmlBlockCloseTagEol); }