Mup Markup for EveryoneA ParseTreeVisitor<TResult> implementation for generating HTML from an ParseTreeRootElement.
Base type: ParseTreeVisitor<string>.
| Name | Access Modifier | Summary |
|---|---|---|
| HtmlWriterVisitor() | public |
Initializes a new instance of the HtmlWriterVisitor class. |
| HtmlWriterVisitor(HtmlWriterVisitorOptions) | public |
Initializes a new instance of the HtmlWriterVisitor class. |
| HtmlWriterVisitor(StringBuilder, HtmlWriterVisitorOptions) | public |
Initializes a new instance of the HtmlWriterVisitor class. |
| Name | Access Modifier | Summary |
|---|---|---|
| Options | protected get |
Gets the HtmlWriterVisitorOptions to use when writing HTML to the result. |
| Name | Access Modifier | Summary |
|---|---|---|
| BeginElement(string) | protected |
Begins an HTML element. |
| BeginElementWithoutIndent(string) | protected |
Begins an HTML element without indentation. |
| EndElement() | protected |
Ends a previously started HTML element. |
| EndElementWithoutIndent() | protected |
Ends a previously started HTML element without indentation. |
| GetResult() | protected |
Gets the visitor result. This method is called only after the visit operation completes. |
| Visit(ParseTreeRootElement) | protected |
Visits the provided rootElement. |
| Visit(Heading1Element) | protected |
Visits the provided heading1 element. |
| Visit(Heading2Element) | protected |
Visits the provided heading2 element. |
| Visit(Heading3Element) | protected |
Visits the provided heading3 element. |
| Visit(Heading4Element) | protected |
Visits the provided heading4 element. |
| Visit(Heading5Element) | protected |
Visits the provided heading5 element. |
| Visit(Heading6Element) | protected |
Visits the provided heading6 element. |
| Visit(ParagraphElement) | protected |
Visits the provided paragraph element. |
| Visit(UnorderedListElement) | protected |
Visits the provided unorderedListElement element. |
| Visit(OrderedListElement) | protected |
Visits the provided orderedList element. |
| Visit(ListItemElement) | protected |
Visits the provided listItem element. |
| Visit(TableElement) | protected |
Visits the provided tableElement element. |
| Visit(TableRowElement) | protected |
Visits the provided tableRow element. |
| Visit(TableHeaderCellElement) | protected |
Visits the provided tableHeaderCell element. |
| Visit(TableDataCellElement) | protected |
Visits the provided tableDataCell element. |
| Visit(TextElement) | protected |
Visits the provided text element. |
| Visit(EmphasisElement) | protected |
Visits the provided emphasis element. |
| Visit(StrongElement) | protected |
Visits the provided strong element. |
| Visit(HyperlinkElement) | protected |
Visits the provided hyperlink element. |
| Visit(ImageElement) | protected |
Visits the provided image element. |
| Visit(CodeElement) | protected |
Visits the provided code element. |
| Visit(LineBreakElement) | protected |
Visits the provided lineBreak element. |
| Visit(PreformattedBlockElement) | protected |
Visits the provided preformattedBlock element. |
| Visit(HorizontalRuleElement) | protected |
Visits the provided horizontalRule element. |
| Visit(PluginElement) | protected |
Visits the provided plugin element. |
| Write(string) | protected |
Writes the given text to the result. Encoding is done for special characters only. |
| Write(char) | protected |
Writes the given character to the result. Encoding is done for special characters only. |
| WriteAttribute(string) | protected |
Writes an HTML attribute to the result. |
| WriteAttribute(string, string) | protected |
Writes an HTML attribute to the result. |
| WriteComment(string) | protected |
Writes an HTML comment containing the given text to the result. Encoding is done for special characters only. |
Mup Copyright © 2020 Andrei Fangli