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 NodesonCodeBlock(String code, Optional<String> hint)NodesonCodeContent(String code)NodesonDivisionBlock()NodesonDocument(Gap gap)NodesonEmphasisContent(MarkdomEmphasisLevel level, Gap gap)NodesonHeadingBlock(MarkdomHeadingLevel level, Gap gap)NodesonImageContent(String uri, Optional<String> title, Optional<String> alternative)NodesonLineBreakContent()NodesonLinkContent(String uri, Optional<String> title, Gap gap)NodesonListItem(Gap gap)NodesonOrderdListBlock(Integer startIndex, Gap gap)NodesonParagraphBlock(Gap gap)NodesonQuoteBlock(Gap gap)NodesonTextContent(String text)NodesonUnorderedListBlock(Gap gap)
-
-
-
Method Detail
-
onDocument
public Nodes onDocument(Gap gap)
- Specified by:
onDocumentin interfaceHtmlDelegate
-
onCodeBlock
public Nodes onCodeBlock(String code, Optional<String> hint)
- Specified by:
onCodeBlockin interfaceHtmlDelegate
-
onDivisionBlock
public Nodes onDivisionBlock()
- Specified by:
onDivisionBlockin interfaceHtmlDelegate
-
onHeadingBlock
public Nodes onHeadingBlock(MarkdomHeadingLevel level, Gap gap)
- Specified by:
onHeadingBlockin interfaceHtmlDelegate
-
onOrderdListBlock
public Nodes onOrderdListBlock(Integer startIndex, Gap gap)
- Specified by:
onOrderdListBlockin interfaceHtmlDelegate
-
onParagraphBlock
public Nodes onParagraphBlock(Gap gap)
- Specified by:
onParagraphBlockin interfaceHtmlDelegate
-
onQuoteBlock
public Nodes onQuoteBlock(Gap gap)
- Specified by:
onQuoteBlockin interfaceHtmlDelegate
-
onUnorderedListBlock
public Nodes onUnorderedListBlock(Gap gap)
- Specified by:
onUnorderedListBlockin interfaceHtmlDelegate
-
onListItem
public Nodes onListItem(Gap gap)
- Specified by:
onListItemin interfaceHtmlDelegate
-
onCodeContent
public Nodes onCodeContent(String code)
- Specified by:
onCodeContentin interfaceHtmlDelegate
-
onEmphasisContent
public Nodes onEmphasisContent(MarkdomEmphasisLevel level, Gap gap)
- Specified by:
onEmphasisContentin interfaceHtmlDelegate
-
onImageContent
public Nodes onImageContent(String uri, Optional<String> title, Optional<String> alternative)
- Specified by:
onImageContentin interfaceHtmlDelegate
-
onLineBreakContent
public Nodes onLineBreakContent()
- Specified by:
onLineBreakContentin interfaceHtmlDelegate
-
onLinkContent
public Nodes onLinkContent(String uri, Optional<String> title, Gap gap)
- Specified by:
onLinkContentin interfaceHtmlDelegate
-
onTextContent
public Nodes onTextContent(String text)
- Specified by:
onTextContentin interfaceHtmlDelegate
-
-