Klasse ConstantsSummaryWriterImpl
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.ConstantsSummaryWriterImpl
- Alle implementierten Schnittstellen:
ConstantsSummaryWriter
Write the Constants Summary Page in HTML format.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
comparators, configuration, contents, docPaths, filename, htmlIds, links, mainBodyScript, messages, options, path, pathToRoot, resources, utils, winTitle
-
Konstruktorübersicht
KonstruktorBeschreibungConstantsSummaryWriterImpl
(HtmlConfiguration configuration) Construct a ConstantsSummaryWriter. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addClassConstant
(Content fromClassConstant) Add the content list to the documentation summaries.void
addConstantMembers
(TypeElement typeElement, Collection<VariableElement> fields, Content target) Adds the constant member table to the documentation.void
addConstantSummaries
(Content content) Add the summaries list to the content.void
addContentsList
(Content content) Add the content list to the documentation.void
Adds the footer for the summary documentation.void
addLinkToPackageContent
(String abbrevPackageName, Content content) Adds the given package name link to the constant content list.void
addPackageGroup
(String abbrevPackageName, Content toContent) Adds a header for the given abbreviated package name.Get the class summary header for the constants summary.Get the constant summaries for the document.Get the header for the constant content list.Get the header for the constant summary documentation.void
printDocument
(Content content) Print the constants summary document.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
addInlineComment, addInlineComment, addInlineDeprecatedComment, addPreQualifiedClassLink, addPreQualifiedClassLink, addPreQualifiedStrongClassLink, addPreviewComment, addPreviewInfo, addPreviewSummary, addSrcLink, addSummaryComment, addSummaryComment, addSummaryDeprecatedComment, addTagsInfo, commentTagsToContent, commentTagsToContent, commentTagsToContent, getAnnotations, getBlockTagOutput, getBlockTagOutput, getBody, getBodyStyle, getCrossClassLink, getCrossModuleLink, getCrossPackageLink, getCurrentPageElement, getDeprecatedPhrase, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getEnclosingPackageName, getFooter, getHeader, getHeader, getLink, getLocalizedPackageName, getModuleLink, getModuleLink, getNavBar, getNavLinkToOverviewTree, getPackageLabel, getPackageLink, getPackageLink, getPackageTableHeader, getPreQualifiedClassLink, getQualifiedClassLink, getTagletWriterInstance, getTagletWriterInstance, getTypeParameterLinks, getWindowTitle, hasSerializationOverviewTags, invalidTagOutput, pathString, pathString, printHtmlDocument, printHtmlDocument, printHtmlDocument, replaceDocRootDir, resolveExternalSpecURI
-
Konstruktordetails
-
ConstantsSummaryWriterImpl
Construct a ConstantsSummaryWriter.- Parameter:
configuration
- the configuration used in this run of the standard doclet.
-
-
Methodendetails
-
getHeader
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Get the header for the constant summary documentation.- Angegeben von:
getHeader
in SchnittstelleConstantsSummaryWriter
- Gibt zurück:
- header that needs to be added to the documentation
-
getContentsHeader
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Get the header for the constant content list.- Angegeben von:
getContentsHeader
in SchnittstelleConstantsSummaryWriter
- Gibt zurück:
- content header that needs to be added to the documentation
-
addLinkToPackageContent
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Adds the given package name link to the constant content list.- Angegeben von:
addLinkToPackageContent
in SchnittstelleConstantsSummaryWriter
- Parameter:
abbrevPackageName
- the abbreviated package namecontent
- the content to which the link will be added
-
addContentsList
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Add the content list to the documentation.- Angegeben von:
addContentsList
in SchnittstelleConstantsSummaryWriter
- Parameter:
content
- the content that will be added to the list
-
getConstantSummaries
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Get the constant summaries for the document.- Angegeben von:
getConstantSummaries
in SchnittstelleConstantsSummaryWriter
- Gibt zurück:
- constant summaries header to be added to the documentation
-
addPackageGroup
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Adds a header for the given abbreviated package name.- Angegeben von:
addPackageGroup
in SchnittstelleConstantsSummaryWriter
- Parameter:
abbrevPackageName
- the abbreviated package nametoContent
- the summaries documentation
-
getClassConstantHeader
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Get the class summary header for the constants summary.- Angegeben von:
getClassConstantHeader
in SchnittstelleConstantsSummaryWriter
- Gibt zurück:
- the header content for the class constants summary
-
addClassConstant
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Add the content list to the documentation summaries.- Angegeben von:
addClassConstant
in SchnittstelleConstantsSummaryWriter
- Parameter:
fromClassConstant
- the class constant content that will be added to the list
-
addConstantMembers
public void addConstantMembers(TypeElement typeElement, Collection<VariableElement> fields, Content target) Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Adds the constant member table to the documentation.- Angegeben von:
addConstantMembers
in SchnittstelleConstantsSummaryWriter
- Parameter:
typeElement
- the class whose constants are being documented.fields
- the constants being documented.target
- the content to which the constant member table content will be added
-
addConstantSummaries
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Add the summaries list to the content.- Angegeben von:
addConstantSummaries
in SchnittstelleConstantsSummaryWriter
- Parameter:
content
- the summaries content that will be added to the list
-
printDocument
Beschreibung aus Schnittstelle kopiert:ConstantsSummaryWriter
Print the constants summary document.- Angegeben von:
printDocument
in SchnittstelleConstantsSummaryWriter
- Parameter:
content
- the content which should be printed- Löst aus:
DocFileIOException
- if there is a problem while writing the document
-