Klasse NewAPIListWriter
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<NewAPIBuilder>
org.jdrupes.mdoclet.internal.doclets.formats.html.NewAPIListWriter
Generates a file containing a list of new API elements with the appropriate links.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.SummaryListWriter
builder
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
KonstruktorBeschreibungNewAPIListWriter
(HtmlConfiguration configuration, DocPath filename) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addComments
(Element e, Content desc) Add summary text for the given element.protected void
addContentSelectors
(Content content) Subclasses allow the user to show or hide parts of the content in the page.protected void
addTableTabs
(Table<Element> table, String headingKey) Allow subclasses to add extra tabs to the element tables.static void
generate
(HtmlConfiguration configuration) If the “New API” page is configured this method instantiates a NewAPIListWriter and generates the file.protected HtmlStyle[]
Gets the array of styles to use for table columns.protected Content
getExtraContent
(Element element) Some subclasses of this class display an extra column in their element tables.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.SummaryListWriter
addExtraIndexLink, addExtraSection, addIndexLink, addSummaryAPI, generateSummaryListFile, getContentsList, getHeader, getHeadingKey, getSummaryLink
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
-
Konstruktordetails
-
NewAPIListWriter
Constructor.- Parameter:
configuration
- the configuration for this doclet
-
-
Methodendetails
-
generate
If the “New API” page is configured this method instantiates a NewAPIListWriter and generates the file.- Parameter:
configuration
- the current configuration of the doclet.- Löst aus:
DocFileIOException
- if there is a problem writing the new API list
-
addContentSelectors
Beschreibung aus Klasse kopiert:SummaryListWriter
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.
- Angegeben von:
addContentSelectors
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
content
- the content to which the UI should be added
-
addTableTabs
Beschreibung aus Klasse kopiert:SummaryListWriter
Allow subclasses to add extra tabs to the element tables.- Angegeben von:
addTableTabs
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
table
- the element tableheadingKey
- the key for the caption (default tab)
-
addComments
Beschreibung aus Klasse kopiert:SummaryListWriter
Add summary text for the given element.- Setzt außer Kraft:
addComments
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
e
- the element for which the summary text should be addeddesc
- the content to which the text should be added
-
getTableCaption
Beschreibung aus Klasse kopiert:SummaryListWriter
Returns the caption for the table with the given headingKey.- Setzt außer Kraft:
getTableCaption
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
headingKey
- the key for the table heading- Gibt zurück:
- the table caption
-
getExtraContent
Beschreibung aus Klasse kopiert:SummaryListWriter
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.
- Angegeben von:
getExtraContent
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
element
- the element- Gibt zurück:
- content for extra content or null
-
getTableHeader
Beschreibung aus Klasse kopiert:SummaryListWriter
Gets the table header to use for a table with the first column identified by headerKey.- Setzt außer Kraft:
getTableHeader
in KlasseSummaryListWriter<NewAPIBuilder>
- Parameter:
headerKey
- the header key for the first table column- Gibt zurück:
- the table header
-
getColumnStyles
Beschreibung aus Klasse kopiert:SummaryListWriter
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
SummaryListWriter.getTableHeader(String)
.- Setzt außer Kraft:
getColumnStyles
in KlasseSummaryListWriter<NewAPIBuilder>
- Gibt zurück:
- the styles to use for table columns
-