Class PackageWriterImpl
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.HtmlDocletWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.PackageWriterImpl
- All Implemented Interfaces:
PackageSummaryWriter
Deprecated.
Class to generate file for each package contents in the right-hand
frame. This will list all the Class Kinds in the package. A click on any
class-kind will update the frame with the clicked class-kind page.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HtmlTreeDeprecated.The HTML tree for main tag.protected PackageDocDeprecated.The next package name in the alpha-order list.protected PackageDocDeprecated.The package being documented.protected PackageDocDeprecated.The prev package name in the alpha-order list.protected HtmlTreeDeprecated.The HTML tree for section tag.Fields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.HtmlDocletWriter
blockTags, configuration, filename, fixedNavDiv, path, pathToRoot, printedAnnotationFieldHeading, printedAnnotationHeading, utilsFields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
CONTENT_TYPEFields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlWriter
allclassesLabel, allpackagesLabel, annotationTypeDetailsLabel, classLabel, constructorDetailsLabel, defaultPackageLabel, deprecatedLabel, deprecatedPhrase, descfrmClassLabel, descfrmInterfaceLabel, descriptionLabel, detailLabel, enumConstantsDetailsLabel, fieldDetailsLabel, framesLabel, helpLabel, indexLabel, memberDetailsListPrinted, methodDetailsLabel, modifierTypeHeader, nextclassLabel, nextLabel, nextpackageLabel, noframesLabel, overridesLabel, overviewLabel, packageLabel, packagesLabel, packageTableHeader, prevclassLabel, prevLabel, prevpackageLabel, propertyDetailsLabel, script, seeLabel, specifiedByLabel, summaryLabel, treeLabel, useLabel, useTableSummary, winTitle -
Constructor Summary
ConstructorsConstructorDescriptionPackageWriterImpl(ConfigurationImpl configuration, PackageDoc packageDoc, PackageDoc prev, PackageDoc next) Deprecated.Constructor to construct PackageWriter object and to generate "package-summary.html" file in the respective package directory. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassesSummary(ClassDoc[] classes, String label, String tableSummary, String[] tableHeader, Content summaryContentTree) Deprecated.Adds the table of classes to the documentation tree.voidDeprecated.Add the package deprecation information to the documentation tree.voidaddPackageContent(Content contentTree, Content packageContentTree) Deprecated.Adds the tag information from the "packages.html" or "package-info.java" file to the documentation tree.voidaddPackageDescription(Content packageContentTree) Deprecated.Adds the package description from the "packages.html" file to the documentation tree.voidaddPackageFooter(Content contentTree) Deprecated.Adds the footer to the documentation tree.voidaddPackageTags(Content packageContentTree) Deprecated.Adds the tag information from the "packages.html" file to the documentation tree.Deprecated.Get the header for the package content.protected ContentDeprecated.Get "Use" link for this pacakge in the navigation bar.Deprecated.Get "NEXT PACKAGE" link in the navigation bar.protected ContentDeprecated.Highlight "Package" in the navigation bar, as this is the package page.Deprecated.Get "PREV PACKAGE" link in the navigation bar.protected ContentDeprecated.Get "Tree" link in the navigation bar.getPackageHeader(String heading) Deprecated.Get the header for the summary.Deprecated.Get the header for the package summary.voidprintDocument(Content contentTree) Deprecated.Print the package summary document.Methods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.HtmlDocletWriter
addAnnotationInfo, addAnnotationInfo, addAnnotationInfo, addBottom, addInlineComment, addInlineComment, addInlineDeprecatedComment, addNavLinks, addPackageDeprecatedAPI, addPreQualifiedClassLink, addPreQualifiedClassLink, addPreQualifiedStrongClassLink, addReceiverAnnotationInfo, addScriptProperties, addSrcLink, addStyleSheetProperties, addSummaryComment, addSummaryComment, addSummaryDeprecatedComment, addSummaryDetailLinks, addTagsInfo, addTop, check, commentTagsToContent, configuration, getAllClassesLinkScript, getAnchor, getAnchor, getAnnotations, getCrossClassLink, getCrossPackageLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getLink, getMarkerAnchor, getMarkerAnchor, getMarkerAnchor, getMarkerAnchor, getNavHideLists, getNavLinkClass, getNavLinkClassIndex, getNavLinkContents, getNavLinkDeprecated, getNavLinkHelp, getNavLinkIndex, getNavLinkMainTree, getNavLinkNext, getNavLinkPackage, getNavLinkPrevious, getNavShowLists, getNavShowLists, getPackageAnchorName, getPackageLabel, getPackageLink, getPackageLink, getPackageName, getPreQualifiedClassLink, getQualifiedClassLink, getSummaryTableHeader, getTableCaption, getTagletWriterInstance, getTargetPackageLink, getTypeParameterLinks, getUserHeaderFooter, getWindowTitle, hasSerializationOverviewTags, isClassLinkable, isCoreClass, italicsClassName, pathString, pathString, printHtmlDocument, removeNonInlineHtmlTags, replaceDocRootDir, seeTagToContentMethods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlDocWriter
getDocLink, getDocLink, getDocLink, getGeneratedBy, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getHyperLink, getMemberDetailsListPrinted, getName, getPkgName, getStyleSheetProperties, printFramesDocumentMethods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.markup.HtmlWriter
addStyles, close, codeText, generateMethodTypesScript, getBody, getFramesJavaScript, getModifierTypeHeader, getNonBreakResource, getResource, getResource, getResource, getSpace, getTitle, getWinTitleScript, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.gosudoc.com.sun.tools.doclets.internal.toolkit.PackageSummaryWriter
close
-
Field Details
-
prev
Deprecated.The prev package name in the alpha-order list. -
next
Deprecated.The next package name in the alpha-order list. -
packageDoc
Deprecated.The package being documented. -
mainTree
Deprecated.The HTML tree for main tag. -
sectionTree
Deprecated.The HTML tree for section tag.
-
-
Constructor Details
-
PackageWriterImpl
public PackageWriterImpl(ConfigurationImpl configuration, PackageDoc packageDoc, PackageDoc prev, PackageDoc next) throws IOException Deprecated.Constructor to construct PackageWriter object and to generate "package-summary.html" file in the respective package directory. For example for package "java.lang" this will generate file "package-summary.html" file in the "java/lang" directory. It will also create "java/lang" directory in the current or the destination directory if it doesn't exist.- Parameters:
configuration- the configuration of the doclet.packageDoc- PackageDoc under consideration.prev- Previous package in the sorted array.next- Next package in the sorted array.- Throws:
IOException
-
-
Method Details
-
getPackageHeader
Deprecated.Get the header for the summary.- Specified by:
getPackageHeaderin interfacePackageSummaryWriter- Parameters:
heading- Package name.- Returns:
- the header to be added to the content tree
-
getContentHeader
Deprecated.Get the header for the package content.- Specified by:
getContentHeaderin interfacePackageSummaryWriter- Returns:
- a content tree for the package content header
-
addDeprecationInfo
Deprecated.Add the package deprecation information to the documentation tree.- Parameters:
div- the content tree to which the deprecation information will be added
-
getSummaryHeader
Deprecated.Get the header for the package summary.- Specified by:
getSummaryHeaderin interfacePackageSummaryWriter- Returns:
- a content tree with the package summary header
-
addClassesSummary
public void addClassesSummary(ClassDoc[] classes, String label, String tableSummary, String[] tableHeader, Content summaryContentTree) Deprecated.Adds the table of classes to the documentation tree.- Specified by:
addClassesSummaryin interfacePackageSummaryWriter- Parameters:
classes- the array of classes to document.label- the label for this table.tableSummary- the summary string for the tabletableHeader- array of table headerssummaryContentTree- the content tree to which the summaries will be added
-
addPackageDescription
Deprecated.Adds the package description from the "packages.html" file to the documentation tree.- Specified by:
addPackageDescriptionin interfacePackageSummaryWriter- Parameters:
packageContentTree- the content tree to which the package description will be added
-
addPackageTags
Deprecated.Adds the tag information from the "packages.html" file to the documentation tree.- Specified by:
addPackageTagsin interfacePackageSummaryWriter- Parameters:
packageContentTree- the content tree to which the package tags will be added
-
addPackageContent
Deprecated.Adds the tag information from the "packages.html" or "package-info.java" file to the documentation tree.- Specified by:
addPackageContentin interfacePackageSummaryWriter- Parameters:
contentTree- the content tree to which the package content tree will be addedpackageContentTree- the package content tree to be added
-
printDocument
Deprecated.Print the package summary document.- Specified by:
printDocumentin interfacePackageSummaryWriter- Parameters:
contentTree- the content tree that will be printed- Throws:
IOException
-