public class ListBuilder extends MarkdownBuilder<ListBuilder,UnorderedList>
markdownElement, parentBuilder| Constructor and Description |
|---|
ListBuilder() |
ListBuilder(MarkdownBuilder parentBuilder) |
| Modifier and Type | Method and Description |
|---|---|
ListBuilder |
append(MarkdownSerializable value)
Attempts to serialize the specified value to markdown and appends
it to the existing root
MarkdownBuilder.markdownElement. |
ListBuilder |
append(java.lang.Object value)
Attempts to append the specified value to the existing root
MarkdownBuilder.markdownElement. |
protected UnorderedList |
createMarkdownElement()
Creates the root element.
|
protected ListBuilder |
getBuilder()
Used for method chaining.
|
begin, beginCodeBlock, beginCodeBlock, beginList, beginQuote, bold, build, code, end, endsWithLineSeparators, getParentBuilder, heading, heading, image, image, italic, link, link, newLine, newLines, newLinesIfRequired, newParagraph, newParagraphIfRequired, progress, progressWithLabel, quote, rule, rule, setParentBuilder, strikeThrough, subHeading, taskList, text, toMarkdownElement, toString, unorderedListpublic ListBuilder()
public ListBuilder(MarkdownBuilder parentBuilder)
protected ListBuilder getBuilder()
MarkdownBuildergetBuilder in class MarkdownBuilder<ListBuilder,UnorderedList>protected UnorderedList createMarkdownElement()
MarkdownBuildercreateMarkdownElement in class MarkdownBuilder<ListBuilder,UnorderedList>public ListBuilder append(java.lang.Object value)
MarkdownBuilderMarkdownBuilder.markdownElement.append in class MarkdownBuilder<ListBuilder,UnorderedList>value - value to be appendedpublic ListBuilder append(MarkdownSerializable value)
MarkdownBuilderMarkdownBuilder.markdownElement.append in class MarkdownBuilder<ListBuilder,UnorderedList>value - value to be appended