Top Inners Fields Constructors Methods
com.vladsch.flexmark.youtrack.converter.internal

public Class YouTrackConverterNodeRenderer

extends Object
implements NodeRenderer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.html.renderer.NodeRenderer
Imports
com.vladsch.flexmark.ast.*, com.vladsch.flexmark.ast.util.ReferenceRepository, com.vladsch.flexmark.html.HtmlRenderer, .HtmlWriter, com.vladsch.flexmark.html.renderer.*, com.vladsch.flexmark.parser.ListOptions, .Parser, com.vladsch.flexmark.util.ast.Document, .Node, com.vladsch.flexmark.util.data.DataHolder, com.vladsch.flexmark.util.sequence.BasedSequence, .Escaping, org.jetbrains.annotations.NotNull, java.util.Arrays, .HashSet, .Set

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private int
private final ListOptions
private final boolean
private final ReferenceRepository

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Set<NodeRenderingHandler<?>>
public static BasedSequence
public boolean
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
private void
public void
renderHtmlBlock(HtmlBlockBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)

public void
renderInlineHtml(HtmlInlineBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)

private void
private void
private void
private void
private static void
private String
repeat(String s, int n)

private HtmlWriter
public HtmlWriter
tailBlankLine(Node node, int count, HtmlWriter html)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inBlockQuoteback to summary
private int inBlockQuote
listOptionsback to summary
private final ListOptions listOptions
recheckUndefinedReferencesback to summary
private final boolean recheckUndefinedReferences
referenceRepositoryback to summary
private final ReferenceRepository referenceRepository

Constructor Detail

YouTrackConverterNodeRendererback to summary
public YouTrackConverterNodeRenderer(DataHolder options)

Method Detail

getNodeRenderingHandlersback to summary
public Set<NodeRenderingHandler<?>> getNodeRenderingHandlers()

Implements com.vladsch.flexmark.html.renderer.NodeRenderer.getNodeRenderingHandlers.

Returns:Set<NodeRenderingHandler<?>>

Doc from com.vladsch.flexmark.html.renderer.NodeRenderer.getNodeRenderingHandlers.

the mapping of nodes this renderer handles to rendering function

Annotations
@Override
getSoftLineBreakSpanback to summary
public static BasedSequence getSoftLineBreakSpan(Node node)
isLastBlockQuoteChildback to summary
public boolean isLastBlockQuoteChild(Node node)
renderback to summary
private void render(Document node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Heading node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(BlockQuote node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(FencedCodeBlock node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(ThematicBreak node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(IndentedCodeBlock node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(BulletList node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(OrderedList node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(BulletListItem node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(OrderedListItem node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Paragraph node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(SoftLineBreak node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HardLineBreak node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Emphasis node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(StrongEmphasis node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Text node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(TextBase node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Code node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlBlock node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlCommentBlock node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlInnerBlock node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlInnerBlockComment node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlInline node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlInlineComment node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Reference node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(HtmlEntity node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(Image node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(ImageRef node, NodeRendererContext context, HtmlWriter html)
renderback to summary
private void render(LinkRef node, NodeRendererContext context, HtmlWriter html)
renderHtmlBlockback to summary
public void renderHtmlBlock(HtmlBlockBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)
renderInlineHtmlback to summary
public void renderInlineHtml(HtmlInlineBase node, NodeRendererContext context, HtmlWriter html, boolean suppress, boolean escape)
renderListback to summary
private void renderList(ListBlock node, NodeRendererContext context, HtmlWriter html)
renderListItemback to summary
private void renderListItem(ListItem node, NodeRendererContext context, HtmlWriter html)
renderListItemPrefixback to summary
private void renderListItemPrefix(ListItem node, NodeRendererContext context, HtmlWriter html)
renderLooseParagraphback to summary
private void renderLooseParagraph(Paragraph node, NodeRendererContext context, HtmlWriter html)
renderTextBlockParagraphLinesback to summary
private static void renderTextBlockParagraphLines(Node node, NodeRendererContext context, HtmlWriter html)
repeatback to summary
private String repeat(String s, int n)
tailBlankLineback to summary
private HtmlWriter tailBlankLine(Node node, HtmlWriter html)
tailBlankLineback to summary
public HtmlWriter tailBlankLine(Node node, int count, HtmlWriter html)
com.vladsch.flexmark.youtrack.converter.internal back to summary

public Class YouTrackConverterNodeRenderer.Factory

extends Object
implements NodeRendererFactory
Class Inheritance
  • java.lang.Object
  • com.vladsch.flexmark.youtrack.converter.internal.YouTrackConverterNodeRenderer.Factory
All Implemented Interfaces
com.vladsch.flexmark.html.renderer.NodeRendererFactory, java.util.function.Function

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @NotNull NodeRenderer
apply(@NotNull DataHolder
the function argument
options
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

applyback to summary
public @NotNull NodeRenderer apply(@NotNull DataHolder options)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
options:@NotNull DataHolder

the function argument

Returns:@NotNull NodeRenderer

the function result

Annotations
@NotNull
@Override