public class FlexmarkSpecExampleRenderer extends SpecExampleRendererBase
myExample, myIncludeExampleInfo, myOptionsNULL| Constructor and Description |
|---|
FlexmarkSpecExampleRenderer(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull com.vladsch.flexmark.util.ast.IRender render) |
FlexmarkSpecExampleRenderer(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull com.vladsch.flexmark.util.ast.IRender render,
boolean includeExampleCoord) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustParserForInclusion() |
void |
finalizeDocument() |
void |
finalizeRender() |
@NotNull com.vladsch.flexmark.util.ast.Node |
getDocument() |
protected @NotNull com.vladsch.flexmark.util.ast.Node |
getIncludedDocument() |
@NotNull com.vladsch.flexmark.util.ast.IParse |
getParser() |
@NotNull com.vladsch.flexmark.util.ast.IRender |
getRenderer() |
void |
includeDocument(@NotNull String includedText) |
void |
parse(CharSequence input) |
protected @NotNull String |
renderAst()
Override to customize
|
protected @NotNull String |
renderHtml()
Override to customize
|
void |
setParser(@NotNull com.vladsch.flexmark.util.ast.IParse parser) |
void |
setRender(@NotNull com.vladsch.flexmark.util.ast.IRender render) |
getAst, getExample, getHtml, getOptions, includeExampleInfo, isFinalizedpublic FlexmarkSpecExampleRenderer(@NotNull
@NotNull SpecExample example,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull
@NotNull com.vladsch.flexmark.util.ast.IRender render)
public FlexmarkSpecExampleRenderer(@NotNull
@NotNull SpecExample example,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
@NotNull
@NotNull com.vladsch.flexmark.util.ast.IParse parser,
@NotNull
@NotNull com.vladsch.flexmark.util.ast.IRender render,
boolean includeExampleCoord)
public void includeDocument(@NotNull
@NotNull String includedText)
@NotNull protected @NotNull com.vladsch.flexmark.util.ast.Node getIncludedDocument()
public void parse(CharSequence input)
public void finalizeDocument()
protected void adjustParserForInclusion()
@NotNull public @NotNull com.vladsch.flexmark.util.ast.Node getDocument()
@NotNull protected @NotNull String renderHtml()
renderHtml in class SpecExampleRendererBase@NotNull protected @NotNull String renderAst()
renderAst in class SpecExampleRendererBasepublic void finalizeRender()
finalizeRender in interface SpecExampleRendererfinalizeRender in class SpecExampleRendererBase@NotNull public final @NotNull com.vladsch.flexmark.util.ast.IParse getParser()
public void setParser(@NotNull
@NotNull com.vladsch.flexmark.util.ast.IParse parser)
public void setRender(@NotNull
@NotNull com.vladsch.flexmark.util.ast.IRender render)
@NotNull public final @NotNull com.vladsch.flexmark.util.ast.IRender getRenderer()
Copyright © 2020. All rights reserved.