Class ClassWriterImpl
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.SubWriterHolderWriter
gw.gosudoc.com.sun.tools.doclets.formats.html.ClassWriterImpl
- All Implemented Interfaces:
ClassWriter
Deprecated.
Generate the Class Information 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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ClassDocDeprecated.protected final ClassTreeDeprecated.protected final ClassDocDeprecated.protected final ClassDocDeprecated.Fields inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.SubWriterHolderWriter
mainTreeFields 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
ConstructorsConstructorDescriptionClassWriterImpl(ConfigurationImpl configuration, ClassDoc classDoc, ClassDoc prevClass, ClassDoc nextClass, ClassTree classTree) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassDeprecationInfo(Content classInfoTree) Deprecated.If this class is deprecated, add the appropriate information.voidaddClassDescription(Content classInfoTree) Deprecated.Build the class description.voidaddClassSignature(String modifiers, Content classInfoTree) Deprecated.Add the signature of the current class content tree.voidaddClassTagInfo(Content classInfoTree) Deprecated.Add the tag information for the current class.voidaddClassTree(Content classContentTree) Deprecated.Add the class tree documentation.voidDeprecated.Add the footer of the page.voidaddFunctionalInterfaceInfo(Content classInfoTree) Deprecated.If this is an functional interface, display appropriate message.voidaddImplementedInterfacesInfo(Content classInfoTree) Deprecated.Add all implemented interfaces if this is a class.voidaddInterfaceUsageInfo(Content classInfoTree) Deprecated.If this is an interface, add all classes that implement this interface.protected voidDeprecated.Add gap between navigation bar elements.voidaddNestedClassInfo(Content classInfoTree) Deprecated.If this is an inner class or interface, add the enclosing class or interface.voidaddSubClassInfo(Content classInfoTree) Deprecated.Add all the classes that extend this one.voidaddSubInterfacesInfo(Content classInfoTree) Deprecated.Add all the interfaces that extend this one.protected voidaddSummaryDetailLinks(Content subDiv) Deprecated.Add summary details to the navigation bar.voidaddSuperInterfacesInfo(Content classInfoTree) Deprecated.Add all super interfaces if this is an interface.voidaddTypeParamInfo(Content classInfoTree) Deprecated.Add the type parameter information.Deprecated.Get the class content header.Deprecated.Return the classDoc being documented.getClassInfo(Content classInfoTree) Deprecated.Get the class information.Deprecated.Get the class information tree header.private ContentgetClassInheritenceTree(Type type) Deprecated.Get the class hierarchy tree for the given class.private ContentgetClassLinks(LinkInfoImpl.Kind context, Collection<?> list) Deprecated.Get links to the given classes.Deprecated.Get the header of the page.protected ContentDeprecated.Get detail links for the navigation bar.protected ContentDeprecated.Get the class link.protected ContentDeprecated.Get the class use link.Deprecated.Get link to next class.protected ContentDeprecated.Get this package link.Deprecated.Get link to previous class.protected ContentDeprecated.Get "Tree" link in the navigation bar.protected ContentDeprecated.Get summary links for navigation bar.private ContentgetTreeForClassHelper(Type type) Deprecated.Get the class helper tree for the given class.booleanDeprecated.voidprintDocument(Content contentTree) Deprecated.Print the document.Methods inherited from class gw.gosudoc.com.sun.tools.doclets.formats.html.SubWriterHolderWriter
addAnnotationContentTree, addClassContentTree, addIndexComment, addIndexComment, addInheritedMemberSummary, addInheritedSummaryHeader, addMemberTree, addSummaryHeader, addSummaryLinkComment, addSummaryLinkComment, addSummaryType, getContentHeader, getMemberDetailsTree, getMemberSummaryTree, getMemberTree, getMemberTree, getMemberTreeHeader, getMethodTypeLinks, getSummaryTableTree, getTableCaptionMethods 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, addTagsInfo, addTop, check, commentTagsToContent, configuration, getAllClassesLinkScript, getAnchor, getAnchor, getAnnotations, getCrossClassLink, getCrossPackageLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getLink, getMarkerAnchor, getMarkerAnchor, getMarkerAnchor, getMarkerAnchor, getNavHideLists, 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.ClassWriter
addClassContentTree, close, getMemberDetailsTree, getMemberSummaryTree, getMemberTreeHeader
-
Field Details
-
classDoc
Deprecated. -
classtree
Deprecated. -
prev
Deprecated. -
next
Deprecated.
-
-
Constructor Details
-
ClassWriterImpl
public ClassWriterImpl(ConfigurationImpl configuration, ClassDoc classDoc, ClassDoc prevClass, ClassDoc nextClass, ClassTree classTree) throws IOException Deprecated.- Parameters:
configuration- the configuration data for the docletclassDoc- the class being documented.prevClass- the previous class that was documented.nextClass- the next class being documented.classTree- the class tree for the given class.- Throws:
IOException
-
-
Method Details
-
getHeader
Deprecated.Get the header of the page.- Specified by:
getHeaderin interfaceClassWriter- Parameters:
header- the header string to write- Returns:
- header content that needs to be added to the documentation
-
getClassContentHeader
Deprecated.Get the class content header.- Specified by:
getClassContentHeaderin interfaceClassWriter- Returns:
- class content header that needs to be added to the documentation
-
printDocument
Deprecated.Print the document.- Specified by:
printDocumentin interfaceClassWriter- Parameters:
contentTree- content tree that will be printed as a document- Throws:
IOException
-
getClassInfoTreeHeader
Deprecated.Get the class information tree header.- Specified by:
getClassInfoTreeHeaderin interfaceClassWriter- Returns:
- class informaion tree header that needs to be added to the documentation
-
getClassInfo
Deprecated.Get the class information.- Specified by:
getClassInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree conatining the class information- Returns:
- a content tree for the class
-
addClassSignature
Deprecated.Add the signature of the current class content tree.- Specified by:
addClassSignaturein interfaceClassWriter- Parameters:
modifiers- the modifiers for the signatureclassInfoTree- the class content tree to which the signature will be added
-
addClassDescription
Deprecated.Build the class description.- Specified by:
addClassDescriptionin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addClassTagInfo
Deprecated.Add the tag information for the current class.- Specified by:
addClassTagInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the tag information will be added
-
getClassInheritenceTree
Deprecated.Get the class hierarchy tree for the given class.- Parameters:
type- the class to print the hierarchy for- Returns:
- a content tree for class inheritence
-
getTreeForClassHelper
Deprecated.Get the class helper tree for the given class.- Parameters:
type- the class to print the helper for- Returns:
- a content tree for class helper
-
addClassTree
Deprecated.Add the class tree documentation.- Specified by:
addClassTreein interfaceClassWriter- Parameters:
classContentTree- class content tree to which the documentation will be added
-
addTypeParamInfo
Deprecated.Add the type parameter information.- Specified by:
addTypeParamInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addSubClassInfo
Deprecated.Add all the classes that extend this one.- Specified by:
addSubClassInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addSubInterfacesInfo
Deprecated.Add all the interfaces that extend this one.- Specified by:
addSubInterfacesInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addInterfaceUsageInfo
Deprecated.If this is an interface, add all classes that implement this interface.- Specified by:
addInterfaceUsageInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addImplementedInterfacesInfo
Deprecated.Add all implemented interfaces if this is a class.- Specified by:
addImplementedInterfacesInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addSuperInterfacesInfo
Deprecated.Add all super interfaces if this is an interface.- Specified by:
addSuperInterfacesInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addNestedClassInfo
Deprecated.If this is an inner class or interface, add the enclosing class or interface.- Specified by:
addNestedClassInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
addFunctionalInterfaceInfo
Deprecated.If this is an functional interface, display appropriate message.- Specified by:
addFunctionalInterfaceInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
isFunctionalInterface
public boolean isFunctionalInterface()Deprecated. -
addClassDeprecationInfo
Deprecated.If this class is deprecated, add the appropriate information.- Specified by:
addClassDeprecationInfoin interfaceClassWriter- Parameters:
classInfoTree- content tree to which the documentation will be added
-
getClassLinks
Deprecated.Get links to the given classes.- Parameters:
context- the id of the context where the link will be printedlist- the list of classes- Returns:
- a content tree for the class list
-
addSummaryDetailLinks
Deprecated.Add summary details to the navigation bar.- Overrides:
addSummaryDetailLinksin classHtmlDocletWriter- Parameters:
subDiv- the content tree to which the summary detail links will be added
-
getClassDoc
Deprecated.Return the classDoc being documented.- Specified by:
getClassDocin interfaceClassWriter- Returns:
- the classDoc being documented.