Class GeneratedSectionEmitter

java.lang.Object
docsite.SectionEmitter
docsite.emitters.GeneratedSectionEmitter
Direct Known Subclasses:
AsciidocGeneratedSectionEmitter, HtmlGeneratedSectionEmitter, MarkdownGeneratedSectionEmitter, TemplateSectionEmitter, TextGeneratedSectionEmitter

public abstract class GeneratedSectionEmitter extends SectionEmitter
  • Method Details

    • generateSectionContent

      protected abstract j2html.tags.specialized.SectionTag generateSectionContent(j2html.tags.Tag<?> before)
    • createSectionContent

      protected j2html.tags.specialized.SectionTag createSectionContent()
      Specified by:
      createSectionContent in class SectionEmitter
    • url

      protected String url()
      Specified by:
      url in class SectionEmitter
    • url

      protected String url(SiteLanguage language)
      Specified by:
      url in class SectionEmitter
    • createLinkToSection

      public j2html.tags.specialized.ATag createLinkToSection(boolean withIcon)
      Specified by:
      createLinkToSection in class SectionEmitter
    • createTableOfContents

      protected j2html.tags.specialized.AsideTag createTableOfContents(j2html.tags.specialized.SectionTag section)
      Specified by:
      createTableOfContents in class SectionEmitter
    • origin

      protected String origin()
      Overrides:
      origin in class SectionEmitter
    • replaceLocalImages

      protected String replaceLocalImages(String html)
    • replaceMermaidDiagrams

      protected String replaceMermaidDiagrams(String html)
    • hrefId

      protected String hrefId(String name)
    • normalizeLinks

      protected String normalizeLinks(String html)
    • removeH1

      protected String removeH1(String html)
    • generateHeadersId

      protected String generateHeadersId(String html)
    • createTableOfContentsFromHtml

      protected j2html.tags.specialized.AsideTag createTableOfContentsFromHtml(String html)