Package docsite
Class SectionEmitter
java.lang.Object
docsite.SectionEmitter
- Direct Known Subclasses:
CopySectionEmitter
,EmbeddedSiteSectionEmitter
,GeneratedSectionEmitter
,GroupSectionEmitter
,LinkSectionEmitter
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<SectionEmitter>
protected final List<SiteLanguage>
protected final Path
protected final List<SectionEmitter>
protected final ImageResolver
protected static final String
protected static final Logger
protected final Path
protected final SectionEmitter
protected final Section
protected final ImageResolver
protected final Docsite
protected final SiteLanguage
protected final ThemeColors
protected static final int
protected static final int
protected final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionj2html.tags.specialized.NavTag
abstract j2html.tags.specialized.ATag
createLinkToSection
(boolean withIcon) protected abstract j2html.tags.specialized.SectionTag
protected abstract j2html.tags.specialized.AsideTag
createTableOfContents
(j2html.tags.specialized.SectionTag section) void
emitHTML()
void
emitHTML
(boolean includeFooter) href()
protected String
origin()
protected Path
protected String
protected abstract String
url()
protected abstract String
url
(SiteLanguage language)
-
Field Details
-
TOC_MIN_LEVEL
protected static final int TOC_MIN_LEVEL- See Also:
-
TOC_MAX_LEVEL
protected static final int TOC_MAX_LEVEL- See Also:
-
INDEX_FILE
- See Also:
-
logger
-
site
-
section
-
sectionImages
-
globalImages
-
useCDN
protected final boolean useCDN -
rootEmitter
-
ancestorEmitters
-
childEmitters
-
themeColors
-
outputFolder
-
baseDir
-
metadata
-
scripts
-
availableLanguages
-
siteLanguage
-
localization
-
-
Constructor Details
-
SectionEmitter
-
-
Method Details
-
url
-
url
-
createLinkToSection
public abstract j2html.tags.specialized.ATag createLinkToSection(boolean withIcon) -
createSectionContent
protected abstract j2html.tags.specialized.SectionTag createSectionContent() -
createTableOfContents
protected abstract j2html.tags.specialized.AsideTag createTableOfContents(j2html.tags.specialized.SectionTag section) -
href
-
outputPath
-
origin
-
emitHTML
- Throws:
IOException
-
emitHTML
- Throws:
IOException
-
createBreadcrumbs
public j2html.tags.specialized.NavTag createBreadcrumbs() -
translate
-