public abstract class SpecExampleRendererBase extends Object implements SpecExampleRenderer
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull SpecExample |
myExample |
protected boolean |
myIncludeExampleInfo |
protected @NotNull com.vladsch.flexmark.util.data.DataHolder |
myOptions |
NULL| Constructor and Description |
|---|
SpecExampleRendererBase(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options) |
SpecExampleRendererBase(@NotNull SpecExample example,
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
boolean includeExampleInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeRender() |
@NotNull String |
getAst() |
@NotNull SpecExample |
getExample() |
@NotNull String |
getHtml() |
@NotNull com.vladsch.flexmark.util.data.DataHolder |
getOptions() |
boolean |
includeExampleInfo() |
boolean |
isFinalized() |
protected abstract @NotNull String |
renderAst() |
protected abstract @NotNull String |
renderHtml() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinalizeDocument, includeDocument, parse@NotNull protected final @NotNull SpecExample myExample
@NotNull protected final @NotNull com.vladsch.flexmark.util.data.DataHolder myOptions
protected final boolean myIncludeExampleInfo
public SpecExampleRendererBase(@NotNull
@NotNull SpecExample example,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder options)
public SpecExampleRendererBase(@NotNull
@NotNull SpecExample example,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder options,
boolean includeExampleInfo)
public boolean isFinalized()
@NotNull public final @NotNull String getHtml()
getHtml in interface SpecExampleRenderer@NotNull public final @NotNull String getAst()
getAst in interface SpecExampleRenderer@NotNull protected abstract @NotNull String renderHtml()
@NotNull protected abstract @NotNull String renderAst()
public void finalizeRender()
finalizeRender in interface SpecExampleRendererpublic boolean includeExampleInfo()
includeExampleInfo in interface SpecExampleRenderer@NotNull public @NotNull SpecExample getExample()
getExample in interface SpecExampleRenderer@NotNull public @NotNull com.vladsch.flexmark.util.data.DataHolder getOptions()
getOptions in interface SpecExampleRendererCopyright © 2020. All rights reserved.