Package io.markdom.handler.html
Class DefaultHtmlDelegate
- java.lang.Object
-
- io.markdom.handler.html.DefaultHtmlDelegate
-
- All Implemented Interfaces:
HtmlDelegate
public class DefaultHtmlDelegate extends Object implements HtmlDelegate
-
-
Constructor Summary
Constructors Constructor Description DefaultHtmlDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementsonCodeBlock(String code, Optional<String> hint)ElementsonCodeContent(String code)ElementsonDivisionBlock()ElementsonEmphasisContent(MarkdomEmphasisLevel level)ElementsonHeadingBlock(MarkdomHeadingLevel level)ElementsonImageContent(String uri, Optional<String> title, Optional<String> alternative)ElementsonLineBreakContent()ElementsonLinkContent(String uri, Optional<String> title)ElementsonListItem()ElementsonOrderdListBlock(Integer startIndex)ElementsonParagraphBlock()ElementsonQuoteBlock()ElementsonTextContent(String text)ElementsonUnorderedListBlock()
-
-
-
Method Detail
-
onCodeBlock
public Elements onCodeBlock(String code, Optional<String> hint)
- Specified by:
onCodeBlockin interfaceHtmlDelegate
-
onDivisionBlock
public Elements onDivisionBlock()
- Specified by:
onDivisionBlockin interfaceHtmlDelegate
-
onHeadingBlock
public Elements onHeadingBlock(MarkdomHeadingLevel level)
- Specified by:
onHeadingBlockin interfaceHtmlDelegate
-
onOrderdListBlock
public Elements onOrderdListBlock(Integer startIndex)
- Specified by:
onOrderdListBlockin interfaceHtmlDelegate
-
onParagraphBlock
public Elements onParagraphBlock()
- Specified by:
onParagraphBlockin interfaceHtmlDelegate
-
onQuoteBlock
public Elements onQuoteBlock()
- Specified by:
onQuoteBlockin interfaceHtmlDelegate
-
onUnorderedListBlock
public Elements onUnorderedListBlock()
- Specified by:
onUnorderedListBlockin interfaceHtmlDelegate
-
onListItem
public Elements onListItem()
- Specified by:
onListItemin interfaceHtmlDelegate
-
onCodeContent
public Elements onCodeContent(String code)
- Specified by:
onCodeContentin interfaceHtmlDelegate
-
onEmphasisContent
public Elements onEmphasisContent(MarkdomEmphasisLevel level)
- Specified by:
onEmphasisContentin interfaceHtmlDelegate
-
onImageContent
public Elements onImageContent(String uri, Optional<String> title, Optional<String> alternative)
- Specified by:
onImageContentin interfaceHtmlDelegate
-
onLineBreakContent
public Elements onLineBreakContent()
- Specified by:
onLineBreakContentin interfaceHtmlDelegate
-
onLinkContent
public Elements onLinkContent(String uri, Optional<String> title)
- Specified by:
onLinkContentin interfaceHtmlDelegate
-
onTextContent
public Elements onTextContent(String text)
- Specified by:
onTextContentin interfaceHtmlDelegate
-
-