Class SpecExampleRendererBase
java.lang.Object
com.vladsch.flexmark.test.util.SpecExampleRendererBase
- All Implemented Interfaces:
SpecExampleRenderer
- Direct Known Subclasses:
FlexmarkSpecExampleRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @NotNull SpecExampleprotected final booleanprivate booleanprotected final @NotNull DataHolderprivate @Nullable Stringprivate @Nullable StringFields inherited from interface SpecExampleRenderer
NULL -
Constructor Summary
ConstructorsConstructorDescriptionSpecExampleRendererBase(@NotNull SpecExample example, @Nullable DataHolder options) SpecExampleRendererBase(@NotNull SpecExample example, @Nullable DataHolder options, boolean includeExampleInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal @NotNull StringgetAst()@NotNull SpecExamplefinal @NotNull StringgetHtml()@NotNull DataHolderbooleanbooleanprotected abstract @NotNull Stringprotected abstract @NotNull StringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SpecExampleRenderer
finalizeDocument, includeDocument, parse
-
Field Details
-
myExample
-
myOptions
-
myIncludeExampleInfo
protected final boolean myIncludeExampleInfo -
myIsFinalized
private boolean myIsFinalized -
myRenderedHtml
-
myRenderedAst
-
-
Constructor Details
-
SpecExampleRendererBase
public SpecExampleRendererBase(@NotNull @NotNull SpecExample example, @Nullable @Nullable DataHolder options) -
SpecExampleRendererBase
public SpecExampleRendererBase(@NotNull @NotNull SpecExample example, @Nullable @Nullable DataHolder options, boolean includeExampleInfo)
-
-
Method Details
-
isFinalized
public boolean isFinalized() -
getHtml
- Specified by:
getHtmlin interfaceSpecExampleRenderer
-
getAst
- Specified by:
getAstin interfaceSpecExampleRenderer
-
renderHtml
-
renderAst
-
finalizeRender
public void finalizeRender()- Specified by:
finalizeRenderin interfaceSpecExampleRenderer
-
includeExampleInfo
public boolean includeExampleInfo()- Specified by:
includeExampleInfoin interfaceSpecExampleRenderer
-
getExample
- Specified by:
getExamplein interfaceSpecExampleRenderer
-
getOptions
- Specified by:
getOptionsin interfaceSpecExampleRenderer
-