Class MarkdownSink

java.lang.Object
org.apache.maven.doxia.sink.impl.AbstractSink
org.apache.maven.doxia.sink.impl.SinkAdapter
org.apache.maven.doxia.sink.impl.AbstractXmlSink
org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
org.apache.maven.doxia.module.markdown.MarkdownSink
All Implemented Interfaces:
AutoCloseable, org.apache.maven.doxia.markup.HtmlMarkup, org.apache.maven.doxia.markup.Markup, org.apache.maven.doxia.markup.TextMarkup, org.apache.maven.doxia.markup.XmlMarkup, MarkdownMarkup, org.apache.maven.doxia.sink.Sink

public class MarkdownSink extends org.apache.maven.doxia.sink.impl.Xhtml5BaseSink implements MarkdownMarkup
Markdown generator implementation.
Note: The encoding used is UTF-8. Extends the Xhtml5 sink as in some context HTML needs to be emitted.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink

    org.apache.maven.doxia.sink.impl.Xhtml5BaseSink.VerbatimMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Queue<org.apache.maven.doxia.module.markdown.MarkdownSink.ElementContext>
    The context of the surrounding elements as stack (LIFO)
    protected Queue<Queue<String>>
    Keep track of end markup for inline events.

    Fields inherited from class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink

    contentStack, tableAttributes

    Fields inherited from interface org.apache.maven.doxia.markup.HtmlMarkup

    A, ABBR, ADDRESS, AREA, ARTICLE, ASIDE, AUDIO, B, BASE, BDI, BDO, BLOCKQUOTE, BODY, BR, BUTTON, CANVAS, CAPTION, CDATA_TYPE, CITE, CODE, COL, COLGROUP, COMMAND, DATA, DATALIST, DD, DEL, DETAILS, DFN, DIALOG, DIV, DL, DT, EM, EMBED, ENTITY_TYPE, FIELDSET, FIGCAPTION, FIGURE, FOOTER, FORM, H1, H2, H3, H4, H5, H6, HEAD, HEADER, HGROUP, HR, HTML, I, IFRAME, IMG, INPUT, INS, KBD, KEYGEN, LABEL, LEGEND, LI, LINK, MAIN, MAP, MARK, MENU, MENUITEM, META, METER, NAV, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, OUTPUT, P, PARAM, PICTURE, PRE, PROGRESS, Q, RB, RP, RT, RTC, RUBY, S, SAMP, SCRIPT, SECTION, SELECT, SMALL, SOURCE, SPAN, STRONG, STYLE, SUB, SUMMARY, SUP, SVG, TABLE, TAG_TYPE_END, TAG_TYPE_SIMPLE, TAG_TYPE_START, TBODY, TD, TEMPLATE, TEXTAREA, TFOOT, TH, THEAD, TIME, TITLE, TR, TRACK, U, UL, VAR, VIDEO, WBR

    Fields inherited from interface org.apache.maven.doxia.markup.Markup

    COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STAR

    Fields inherited from interface org.apache.maven.doxia.sink.Sink

    JUSTIFY_CENTER, JUSTIFY_DEFAULT, JUSTIFY_LEFT, JUSTIFY_RIGHT, NUMBERING_DECIMAL, NUMBERING_LOWER_ALPHA, NUMBERING_LOWER_ROMAN, NUMBERING_UPPER_ALPHA, NUMBERING_UPPER_ROMAN, SECTION_LEVEL_1, SECTION_LEVEL_2, SECTION_LEVEL_3, SECTION_LEVEL_4, SECTION_LEVEL_5, SECTION_LEVEL_6

    Fields inherited from interface org.apache.maven.doxia.markup.TextMarkup

    PIPE

    Fields inherited from interface org.apache.maven.doxia.markup.XmlMarkup

    BANG, CDATA, DOCTYPE_START, ENTITY_START, XML_NAMESPACE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    anchor(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
     
    void
    blockquote(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    body(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
    definedTerm(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    definition(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    definitionList(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    figure(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    figureCaption(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    figureGraphics(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
    head(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    header(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    horizontalRule(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    protected void
     
    void
    inline(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
     
    void
     
    void
    lineBreak(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
    link(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    list(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    listItem(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    markupLineBreak(int indentLevel)
     
    void
     
    void
     
    protected static MarkdownSink
     
    void
     
    void
    numberedList(int numbering, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    numberedListItem(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
     
    void
    paragraph(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
     
    void
    section(int level, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
    section_(int level)
     
    void
    sectionTitle(int level, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
    sectionTitle_(int level)
     
    void
    table(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    tableCaption(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    tableCell(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    tableHeaderCell(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    tableRow(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    tableRows(int[] justification, boolean grid)
     
    void
     
    void
    text(String text, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     
    void
    unknown(String name, Object[] requiredParams, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
    Unknown events just log a warning message but are ignored otherwise.
    void
    verbatim(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
     
    void
     

    Methods inherited from class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink

    address, address_, article, article_, comment, content, content, content_, convertAndFilterAttributes, convertToHtml5CompliantAttributes, data, data_, division, division_, encodeAsHtmlComment, encodeURL, escapeHTML, flush, footer, footer_, getCellCount, getCellJustif, getTextBuffer, getVerbatimMode, isHeadFlag, isVerbatim, lineBreakOpportunity, navigation, navigation_, onSection, onSection_, onSectionTitle, onSectionTitle_, resetTextBuffer, setCellCount, setCellJustif, setHeadFlag, setVerbatimMode, sidebar, sidebar_, time, time_, verbatimContent, write, writeEndTag, writeStartTag

    Methods inherited from class org.apache.maven.doxia.sink.impl.AbstractXmlSink

    getNameSpace, setInsertNewline, setNameSpace, writeEOL, writeSimpleTag, writeSimpleTag, writeStartTag, writeStartTag

    Methods inherited from class org.apache.maven.doxia.sink.impl.SinkAdapter

    author, date, definitionListItem, definitionListItem_, title

    Methods inherited from class org.apache.maven.doxia.sink.impl.AbstractSink

    address, anchor, article, author, blockquote, body, content, data, date, definedTerm, definition, definitionList, definitionListItem, division, figure, figureCaption, figureGraphics, footer, formatLocation, getDocumentLocator, getLocationLogPrefix, head, header, horizontalRule, inline, lineBreak, lineBreakOpportunity, link, list, listItem, navigation, numberedList, numberedListItem, paragraph, section1, section1_, section2, section2_, section3, section3_, section4, section4_, section5, section5_, section6, section6_, sectionTitle, sectionTitle_, sectionTitle1, sectionTitle1_, sectionTitle2, sectionTitle2_, sectionTitle3, sectionTitle3_, sectionTitle4, sectionTitle4_, sectionTitle5, sectionTitle5_, sectionTitle6, sectionTitle6_, setDocumentLocator, sidebar, table, tableCaption, tableCell, tableHeaderCell, tableRow, tableRows, text, time, title, unifyEOLs, verbatim

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • inlineStack

      Keep track of end markup for inline events. Special value USE_XHTML_SINK is used to indicate usage of the Xhtml5BaseSink.inline_()
    • elementContextStack

      protected Queue<org.apache.maven.doxia.module.markdown.MarkdownSink.ElementContext> elementContextStack
      The context of the surrounding elements as stack (LIFO)
  • Method Details

    • newInstance

      protected static MarkdownSink newInstance(Writer writer)
    • init

      protected void init()
      Overrides:
      init in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • head

      public void head(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      head in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      head in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • head_

      public void head_()
      Specified by:
      head_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      head_ in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • body

      public void body(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      body in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      body in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • body_

      public void body_()
      Specified by:
      body_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      body_ in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • title_

      public void title_()
      Specified by:
      title_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      title_ in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • author_

      public void author_()
      Specified by:
      author_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      author_ in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • date_

      public void date_()
      Specified by:
      date_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      date_ in class org.apache.maven.doxia.sink.impl.SinkAdapter
    • section

      public void section(int level, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      section in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      section in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • section_

      public void section_(int level)
      Specified by:
      section_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      section_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • header

      public void header(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      header in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      header in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • header_

      public void header_()
      Specified by:
      header_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      header_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • sectionTitle

      public void sectionTitle(int level, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      sectionTitle in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      sectionTitle in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • sectionTitle_

      public void sectionTitle_(int level)
      Specified by:
      sectionTitle_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      sectionTitle_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • list

      public void list(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      list in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      list in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • list_

      public void list_()
      Specified by:
      list_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      list_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • listItem

      public void listItem(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      listItem in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      listItem in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • listItem_

      public void listItem_()
      Specified by:
      listItem_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      listItem_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • numberedList

      public void numberedList(int numbering, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      numberedList in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      numberedList in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • numberedList_

      public void numberedList_()
      Specified by:
      numberedList_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      numberedList_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • numberedListItem

      public void numberedListItem(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      numberedListItem in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      numberedListItem in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • numberedListItem_

      public void numberedListItem_()
      Specified by:
      numberedListItem_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      numberedListItem_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definitionList

      public void definitionList(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      definitionList in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definitionList in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definitionList_

      public void definitionList_()
      Specified by:
      definitionList_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definitionList_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definedTerm

      public void definedTerm(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      definedTerm in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definedTerm in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definedTerm_

      public void definedTerm_()
      Specified by:
      definedTerm_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definedTerm_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definition

      public void definition(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      definition in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definition in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • definition_

      public void definition_()
      Specified by:
      definition_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      definition_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • pageBreak

      public void pageBreak()
      Specified by:
      pageBreak in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      pageBreak in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • paragraph

      public void paragraph(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      paragraph in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      paragraph in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • paragraph_

      public void paragraph_()
      Specified by:
      paragraph_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      paragraph_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • verbatim

      public void verbatim(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      verbatim in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      verbatim in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • verbatim_

      public void verbatim_()
      Specified by:
      verbatim_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      verbatim_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • blockquote

      public void blockquote(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      blockquote in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      blockquote in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • blockquote_

      public void blockquote_()
      Specified by:
      blockquote_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      blockquote_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • horizontalRule

      public void horizontalRule(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      horizontalRule in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      horizontalRule in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • table

      public void table(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      table in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      table in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • table_

      public void table_()
      Specified by:
      table_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      table_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableRows

      public void tableRows(int[] justification, boolean grid)
      Specified by:
      tableRows in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableRows in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableRows_

      public void tableRows_()
      Specified by:
      tableRows_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableRows_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableRow

      public void tableRow(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      tableRow in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableRow in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableRow_

      public void tableRow_()
      Specified by:
      tableRow_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableRow_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableCell

      public void tableCell(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      tableCell in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableCell in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableHeaderCell

      public void tableHeaderCell(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      tableHeaderCell in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableHeaderCell in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableCell_

      public void tableCell_()
      Specified by:
      tableCell_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableCell_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableHeaderCell_

      public void tableHeaderCell_()
      Specified by:
      tableHeaderCell_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableHeaderCell_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableCaption

      public void tableCaption(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      tableCaption in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableCaption in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • tableCaption_

      public void tableCaption_()
      Specified by:
      tableCaption_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      tableCaption_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • figure

      public void figure(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      figure in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      figure in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • figureCaption

      public void figureCaption(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      figureCaption in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      figureCaption in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • figureCaption_

      public void figureCaption_()
      Specified by:
      figureCaption_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      figureCaption_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • figureGraphics

      public void figureGraphics(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      figureGraphics in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      figureGraphics in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • figure_

      public void figure_()
      Specified by:
      figure_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      figure_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • anchor

      public void anchor(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      anchor in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      anchor in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • anchor_

      public void anchor_()
      Specified by:
      anchor_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      anchor_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • link

      public void link(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      link in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      link in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • inline

      public void inline(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      inline in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      inline in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • inline_

      public void inline_()
      Specified by:
      inline_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      inline_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • italic

      public void italic()
      Specified by:
      italic in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      italic in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • italic_

      public void italic_()
      Specified by:
      italic_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      italic_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • bold

      public void bold()
      Specified by:
      bold in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      bold in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • bold_

      public void bold_()
      Specified by:
      bold_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      bold_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • monospaced

      public void monospaced()
      Specified by:
      monospaced in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      monospaced in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • monospaced_

      public void monospaced_()
      Specified by:
      monospaced_ in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      monospaced_ in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • lineBreak

      public void lineBreak(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      lineBreak in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      lineBreak in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • nonBreakingSpace

      public void nonBreakingSpace()
      Specified by:
      nonBreakingSpace in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      nonBreakingSpace in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • text

      public void text(String text, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Specified by:
      text in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      text in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • rawText

      public void rawText(String text)
      Specified by:
      rawText in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      rawText in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • unknown

      public void unknown(String name, Object[] requiredParams, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
      Unknown events just log a warning message but are ignored otherwise.
      Specified by:
      unknown in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      unknown in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
      See Also:
      • Sink.unknown(String,Object[],SinkEventAttributes)
    • markupLineBreak

      public void markupLineBreak(int indentLevel)
      Specified by:
      markupLineBreak in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      markupLineBreak in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.apache.maven.doxia.sink.Sink
      Overrides:
      close in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink