Top Fields Constructors Methods
com.vladsch.flexmark.test.util

public Class FlexmarkSpecExampleRenderer

extends SpecExampleRendererBase
Class Inheritance
Imports
com.vladsch.flexmark.test.util.spec.SpecExample, com.vladsch.flexmark.util.ast.Document, .IParse, .IRender, .Node, com.vladsch.flexmark.util.data.DataHolder, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, .Nullable

Field Summary

Modifier and TypeField and Description
private @Nullable Node
private @Nullable Node
private @NotNull IParse
private @NotNull IRender
Inherited from com.vladsch.flexmark.test.util.SpecExampleRendererBase:
myExamplemyIncludeExampleInfomyOptions

Constructor Summary

AccessConstructor and Description
public
public
FlexmarkSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder options, @NotNull IParse parser, @NotNull IRender render, boolean includeExampleCoord)

Method Summary

Modifier and TypeMethod and Description
protected void
public void
public void
public @NotNull Node
protected @NotNull Node
public final @NotNull IParse
public final @NotNull IRender
public void
public void
protected @NotNull String

Returns:

HTML string, will be cached after document is finalized to allow for timing collection iterations,
renderAst
()

Implements abstract com.vladsch.flexmark.test.util.SpecExampleRendererBase.renderAst.

Override to customize

protected @NotNull String

Returns:

HTML string, will be cached after document is finalized to allow for timing collection iterations,
renderHtml
()

Implements abstract com.vladsch.flexmark.test.util.SpecExampleRendererBase.renderHtml.

Override to customize

public void
public void
Inherited from com.vladsch.flexmark.test.util.SpecExampleRendererBase:
getAstgetExamplegetHtmlgetOptionsincludeExampleInfoisFinalized

Field Detail

myDocumentback to summary
private @Nullable Node myDocument
Annotations
@Nullable
myIncludedDocumentback to summary
private @Nullable Node myIncludedDocument
Annotations
@Nullable
myParserback to summary
private @NotNull IParse myParser
Annotations
@NotNull
myRenderback to summary
private @NotNull IRender myRender
Annotations
@NotNull

Constructor Detail

FlexmarkSpecExampleRendererback to summary
public FlexmarkSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder options, @NotNull IParse parser, @NotNull IRender render)
FlexmarkSpecExampleRendererback to summary
public FlexmarkSpecExampleRenderer(@NotNull SpecExample example, @Nullable DataHolder options, @NotNull IParse parser, @NotNull IRender render, boolean includeExampleCoord)

Method Detail

adjustParserForInclusionback to summary
protected void adjustParserForInclusion()
finalizeDocumentback to summary
public void finalizeDocument()

Implements com.vladsch.flexmark.test.util.SpecExampleRenderer.finalizeDocument.

Annotations
@Override
finalizeRenderback to summary
public void finalizeRender()

Overrides com.vladsch.flexmark.test.util.SpecExampleRendererBase.finalizeRender.

Implements com.vladsch.flexmark.test.util.SpecExampleRenderer.finalizeRender.

Annotations
@Override
getDocumentback to summary
public @NotNull Node getDocument()
Annotations
@NotNull
getIncludedDocumentback to summary
protected @NotNull Node getIncludedDocument()
Annotations
@NotNull
getParserback to summary
public final @NotNull IParse getParser()
Annotations
@NotNull
getRendererback to summary
public final @NotNull IRender getRenderer()
Annotations
@NotNull
includeDocumentback to summary
public void includeDocument(@NotNull String includedText)
Annotations
@Override
parseback to summary
public void parse(CharSequence input)

Implements com.vladsch.flexmark.test.util.SpecExampleRenderer.parse.

Annotations
@Override
renderAstback to summary
protected @NotNull String renderAst()

Implements abstract com.vladsch.flexmark.test.util.SpecExampleRendererBase.renderAst.

Override to customize

Returns:@NotNull String

HTML string, will be cached after document is finalized to allow for timing collection iterations,

Annotations
@NotNull
@Override
renderHtmlback to summary
protected @NotNull String renderHtml()

Implements abstract com.vladsch.flexmark.test.util.SpecExampleRendererBase.renderHtml.

Override to customize

Returns:@NotNull String

HTML string, will be cached after document is finalized to allow for timing collection iterations,

Annotations
@NotNull
@Override
setParserback to summary
public void setParser(@NotNull IParse parser)
setRenderback to summary
public void setRender(@NotNull IRender render)