Klasse SummaryListWriter<B extends SummaryAPIListBuilder>
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.SummaryListWriter<B>
- Bekannte direkte Unterklassen:
DeprecatedListWriter
,NewAPIListWriter
,PreviewListWriter
public abstract class SummaryListWriter<B extends SummaryAPIListBuilder>
extends SubWriterHolderWriter
Base class for generating a summary page that lists elements with a common characteristic,
such as deprecated elements, preview elements, and so on.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
bodyContents
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
KonstruktorBeschreibungSummaryListWriter
(HtmlConfiguration configuration, DocPath filename, B builder) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addComments
(Element e, Content desc) Add summary text for the given element.protected abstract void
addContentSelectors
(Content target) Subclasses allow the user to show or hide parts of the content in the page.protected void
addExtraIndexLink
(Content target) Add an extra optional index link.protected void
addExtraSection
(Content target) Add an extra optional section to the content.protected void
addIndexLink
(HtmlId id, String headingKey, Content content) Add the index link.protected void
addSummaryAPI
(SortedSet<Element> apiList, HtmlId id, String headingKey, String headerKey, Content content) Add summary information to the documentationprotected abstract void
addTableTabs
(Table<Element> table, String headingKey) Allow subclasses to add extra tabs to the element tables.protected void
generateSummaryListFile
(Navigation.PageMode pageMode, String description, Content headContent, String titleKey) Generate the API summary.protected HtmlStyle[]
Gets the array of styles to use for table columns.Get the contents list.protected abstract Content
getExtraContent
(Element element) Some subclasses of this class display an extra column in their element tables.getHeader
(Navigation.PageMode pageMode, String titleKey) protected String
protected Content
protected Content
getTableCaption
(String headingKey) Returns the caption for the table with the given headingKey.protected TableHeader
getTableHeader
(String headerKey) Gets the table header to use for a table with the first column identified by headerKey.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
addAnnotationContent, addClassContent, addIndexComment, addIndexComment, addInheritedMemberSummary, addInheritedSummaryHeader, addSummary, addSummaryHeader, addSummaryLinkComment, addSummaryLinkComment, getContentHeader, getDetailsList, getDetailsListItem, getMember, getMember, getMemberDetailsContent, getMemberHeader, getMemberInherited, getMemberList, getMemberListItem, getMemberSummary, getSummariesList, getSummariesListItem
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
-
Felddetails
-
builder
The summary list builder
-
-
Konstruktordetails
-
SummaryListWriter
Constructor.- Parameter:
configuration
- the configuration for this docletfilename
- the file to be generatedbuilder
- the summary list builder
-
-
Methodendetails
-
getHeadingKey
-
addIndexLink
Add the index link.- Parameter:
id
- the id for the linkheadingKey
- the key for the heading contentcontent
- the content to which the index link will be added
-
getContentsList
Get the contents list.- Gibt zurück:
- the contents list
-
addSummaryAPI
protected void addSummaryAPI(SortedSet<Element> apiList, HtmlId id, String headingKey, String headerKey, Content content) Add summary information to the documentation- Parameter:
apiList
- list of API summary elementsid
- the id attribute of the tableheadingKey
- the caption for the summary tableheaderKey
- table header key for the summary tablecontent
- the content to which the summary table will be added
-
addComments
Add summary text for the given element.- Parameter:
e
- the element for which the summary text should be addeddesc
- the content to which the text should be added
-
getSummaryLink
-
addExtraSection
Add an extra optional section to the content.- Parameter:
target
- the content to which the section should be added
-
addExtraIndexLink
Add an extra optional index link.- Parameter:
target
- the content to which the link should be added
-
addContentSelectors
Subclasses allow the user to show or hide parts of the content in the page.This method should be used to add the UI to select the visible page content.
- Parameter:
target
- the content to which the UI should be added
-
getExtraContent
Some subclasses of this class display an extra column in their element tables.This methods allows them to return the content to show for element.
- Parameter:
element
- the element- Gibt zurück:
- content for extra content or null
-
getTableHeader
Gets the table header to use for a table with the first column identified by headerKey.- Parameter:
headerKey
- the header key for the first table column- Gibt zurück:
- the table header
-
getColumnStyles
Gets the array of styles to use for table columns.The length of the returned array must match the number of column headers returned by
getTableHeader(String)
.- Gibt zurück:
- the styles to use for table columns
-
getTableCaption
Returns the caption for the table with the given headingKey.- Parameter:
headingKey
- the key for the table heading- Gibt zurück:
- the table caption
-
addTableTabs
Allow subclasses to add extra tabs to the element tables.- Parameter:
table
- the element tableheadingKey
- the key for the caption (default tab)
-