Klasse ClassWriterImpl
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.ClassWriterImpl
- Alle implementierten Schnittstellen:
ClassWriter
Generate the Class Information Page.
- Siehe auch:
-
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
KonstruktorBeschreibungClassWriterImpl
(HtmlConfiguration configuration, TypeElement typeElement, ClassTree classTree) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addClassDeprecationInfo
(Content classInfo) If this class is deprecated, add the appropriate information.void
addClassDescription
(Content classInfo) Build the class description.void
addClassSignature
(Content classInfo) Add the signature of the current class content.void
addClassTagInfo
(Content classInfo) Add the tag information for the current class.void
addClassTree
(Content target) Add the class inheritance tree documentation.void
Add the footer of the page.void
addFunctionalInterfaceInfo
(Content target) If this is an functional interface, display appropriate message.void
addImplementedInterfacesInfo
(Content target) Add all implemented interfaces if this is a class.void
addInterfaceUsageInfo
(Content target) If this is an interface, add all classes that implement this interface.void
addNestedClassInfo
(Content target) If this is an inner class or interface, add the enclosing class or interface.void
addParamInfo
(Content target) Add the type parameter and state component information.void
addSubClassInfo
(Content target) Add all the classes that extend this one.void
addSubInterfacesInfo
(Content target) Add all the interfaces that extend this one.void
addSuperInterfacesInfo
(Content target) Add all superinterfaces if this is an interface.Get the class content header.getClassInfo
(Content classInfo) Gibt the class information zurück.protected TypeElement
Return the main type element of the current page or null for pages that don’t have one.Get the header of the page.getMemberDetails
(Content content) Gibt the member details zurück.protected Navigation
getNavBar
(Navigation.PageMode pageMode, Element element) Returns a basic navigation bar for a kind of page and element.Return the TypeElement being documented.boolean
void
printDocument
(Content content) Print the document.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, getDeprecatedPhrase, getDocLink, getDocLink, getDocLink, getDocLink, getDocLink, getEnclosingPackageName, getFooter, getHeader, getHeader, getLink, getLocalizedPackageName, getModuleLink, getModuleLink, getNavLinkToOverviewTree, getPackageLabel, getPackageLink, getPackageLink, getPackageTableHeader, getPreQualifiedClassLink, getQualifiedClassLink, getTagletWriterInstance, getTagletWriterInstance, getTypeParameterLinks, getWindowTitle, hasSerializationOverviewTags, invalidTagOutput, pathString, pathString, printHtmlDocument, printHtmlDocument, printHtmlDocument, replaceDocRootDir, resolveExternalSpecURI
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.ClassWriter
addClassContent, getDetailsList, getDetailsListItem, getMemberSummary, getSummariesList, getSummariesListItem
-
Felddetails
-
typeElement
-
classTree
-
-
Konstruktordetails
-
ClassWriterImpl
public ClassWriterImpl(HtmlConfiguration configuration, TypeElement typeElement, ClassTree classTree) - Parameter:
configuration
- the configuration data for the doclettypeElement
- the class being documented.classTree
- the class tree for the given class.
-
-
Methodendetails
-
getHeader
Beschreibung aus Schnittstelle kopiert:ClassWriter
Get the header of the page.- Angegeben von:
getHeader
in SchnittstelleClassWriter
- Parameter:
header
- the header string to write- Gibt zurück:
- header content that needs to be added to the documentation
-
getClassContentHeader
Beschreibung aus Schnittstelle kopiert:ClassWriter
Get the class content header.- Angegeben von:
getClassContentHeader
in SchnittstelleClassWriter
- Gibt zurück:
- class content header that needs to be added to the documentation
-
printDocument
Beschreibung aus Schnittstelle kopiert:ClassWriter
Print the document.- Angegeben von:
printDocument
in SchnittstelleClassWriter
- Parameter:
content
- the content that will be printed as a document- Löst aus:
DocFileIOException
- if there is a problem while writing the document
-
getClassInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Gibt the class information zurück.- Angegeben von:
getClassInfo
in SchnittstelleClassWriter
- Parameter:
classInfo
- the class information- Gibt zurück:
- the class information
-
getCurrentPageElement
Beschreibung aus Klasse kopiert:HtmlDocletWriter
Return the main type element of the current page or null for pages that don’t have one.- Setzt außer Kraft:
getCurrentPageElement
in KlasseHtmlDocletWriter
- Gibt zurück:
- the type element of the current page.
-
addClassSignature
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add the signature of the current class content.- Angegeben von:
addClassSignature
in SchnittstelleClassWriter
- Parameter:
classInfo
- the class content to which the signature will be added
-
addClassDescription
Beschreibung aus Schnittstelle kopiert:ClassWriter
Build the class description.- Angegeben von:
addClassDescription
in SchnittstelleClassWriter
- Parameter:
classInfo
- the content to which the documentation will be added
-
addClassTagInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add the tag information for the current class.- Angegeben von:
addClassTagInfo
in SchnittstelleClassWriter
- Parameter:
classInfo
- the content to which the tag information will be added
-
addClassTree
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add the class inheritance tree documentation.- Angegeben von:
addClassTree
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addParamInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add the type parameter and state component information.- Angegeben von:
addParamInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addSubClassInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add all the classes that extend this one.- Angegeben von:
addSubClassInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addSubInterfacesInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add all the interfaces that extend this one.- Angegeben von:
addSubInterfacesInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addInterfaceUsageInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
If this is an interface, add all classes that implement this interface.- Angegeben von:
addInterfaceUsageInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addImplementedInterfacesInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add all implemented interfaces if this is a class.- Angegeben von:
addImplementedInterfacesInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addSuperInterfacesInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
Add all superinterfaces if this is an interface.- Angegeben von:
addSuperInterfacesInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addNestedClassInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
If this is an inner class or interface, add the enclosing class or interface.- Angegeben von:
addNestedClassInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
addFunctionalInterfaceInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
If this is an functional interface, display appropriate message.- Angegeben von:
addFunctionalInterfaceInfo
in SchnittstelleClassWriter
- Parameter:
target
- the content to which the documentation will be added
-
isFunctionalInterface
-
addClassDeprecationInfo
Beschreibung aus Schnittstelle kopiert:ClassWriter
If this class is deprecated, add the appropriate information.- Angegeben von:
addClassDeprecationInfo
in SchnittstelleClassWriter
- Parameter:
classInfo
- the content to which the documentation will be added
-
getTypeElement
Return the TypeElement being documented.- Angegeben von:
getTypeElement
in SchnittstelleClassWriter
- Gibt zurück:
- the TypeElement being documented.
-
getMemberDetails
Beschreibung aus Schnittstelle kopiert:ClassWriter
Gibt the member details zurück.- Angegeben von:
getMemberDetails
in SchnittstelleClassWriter
- Parameter:
content
- the content used to generate the member details- Gibt zurück:
- the member details
-