Schnittstelle ConstantsSummaryWriter
- Alle bekannten Implementierungsklassen:
ConstantsSummaryWriterImpl
public interface ConstantsSummaryWriter
The interface for writing constants summary output.
-
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.
-
Methodendetails
-
getHeader
Get the header for the constant summary documentation.- Gibt zurück:
- header that needs to be added to the documentation
-
getContentsHeader
Get the header for the constant content list.- Gibt zurück:
- content header that needs to be added to the documentation
-
addLinkToPackageContent
Adds the given package name link to the constant content list.- Parameter:
abbrevPackageName
- the abbreviated package namecontent
- the content to which the link will be added
-
addContentsList
Add the content list to the documentation.- Parameter:
content
- the content that will be added to the list
-
getConstantSummaries
Get the constant summaries for the document.- Gibt zurück:
- constant summaries header to be added to the documentation
-
addPackageGroup
Adds a header for the given abbreviated package name.- Parameter:
abbrevPackageName
- the abbreviated package nametoContent
- the summaries documentation
-
getClassConstantHeader
Get the class summary header for the constants summary.- Gibt zurück:
- the header content for the class constants summary
-
addClassConstant
Add the content list to the documentation summaries.- Parameter:
fromClassConstant
- the class constant content that will be added to the list
-
addConstantMembers
void addConstantMembers(TypeElement typeElement, Collection<VariableElement> fields, Content target) Adds the constant member table to the documentation.- 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
Add the summaries list to the content.- Parameter:
content
- the summaries content that will be added to the list
-
printDocument
Print the constants summary document.- Parameter:
content
- the content which should be printed- Löst aus:
DocFileIOException
- if there is a problem while writing the document
-