Klasse SubWriterHolderWriter
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlDocletWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.SubWriterHolderWriter
- Bekannte direkte Unterklassen:
ClassUseWriter
,ClassWriterImpl
,PackageUseWriter
,SerializedFormWriterImpl
,SummaryListWriter
This abstract class exists to provide functionality needed in the
the formatting of member information.
Since AbstractSubWriter and its subclasses control this, they would be the logical place to put this. However, because each member type has its own subclass, subclassing can not be used effectively to change formatting. The concrete class subclass of this class can be subclassed to change formatting.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected BodyContents
The HTML builder for the body contents.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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addAnnotationContent
(Content source) Add the annotation content.void
addClassContent
(Content source) Add the class content.protected void
addIndexComment
(Element member, List<? extends DocTree> firstSentenceTags, Content tdSummaryContent) Add the index comment.protected void
addIndexComment
(Element member, Content content) Add the index comment.void
addInheritedMemberSummary
(AbstractMemberWriter mw, TypeElement typeElement, Element member, boolean isFirst, Content linksContent) Add the inherited member summary.void
addInheritedSummaryHeader
(AbstractMemberWriter mw, TypeElement typeElement, Content inheritedContent) Add the inherited summary header.void
addSummary
(HtmlStyle style, HtmlId htmlId, Content target, Content source) Adds a section for a summary with the given CSS class and id attribute.void
addSummaryHeader
(AbstractMemberWriter mw, Content memberContent) Add the summary header.void
addSummaryLinkComment
(Element member, List<? extends DocTree> firstSentenceTags, Content tdSummaryContent) Add the summary link comment.void
addSummaryLinkComment
(Element member, Content content) Add the summary link for the member.Gibt the document content header zurück.Returns a list to be used for the list of details for members of a given kind.getDetailsListItem
(Content content) Returns an item for the list of details for members of a given kind.Get the member contentGibt the member content zurück.getMemberDetailsContent
(Content content) Gibt the member details zurück.Gibt the member header zurück.Gibt a list to add member items to zurück.getMemberListItem
(Content member) Gibt a member item zurück.getMemberSummary
(Content memberContent) Gibt the member summary content zurück.Returns a list to be used for the list of summaries for members of a given kind.getSummariesListItem
(Content content) Returns an item for the list of summaries for members of a given kind.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
-
bodyContents
The HTML builder for the body contents.
-
-
Konstruktordetails
-
SubWriterHolderWriter
-
-
Methodendetails
-
addSummaryHeader
Add the summary header.- Parameter:
mw
- the writer for the member being documentedmemberContent
- the content to which the summary header will be added
-
addInheritedSummaryHeader
public void addInheritedSummaryHeader(AbstractMemberWriter mw, TypeElement typeElement, Content inheritedContent) Add the inherited summary header.- Parameter:
mw
- the writer for the member being documentedtypeElement
- the te to be documentedinheritedContent
- the content to which the inherited summary header will be added
-
addIndexComment
Add the index comment.- Parameter:
member
- the member being documentedcontent
- the content to which the comment will be added
-
addIndexComment
protected void addIndexComment(Element member, List<? extends DocTree> firstSentenceTags, Content tdSummaryContent) Add the index comment.- Parameter:
member
- the member being documentedfirstSentenceTags
- the first sentence tags for the member to be documentedtdSummaryContent
- the content to which the comment will be added
-
addSummaryLinkComment
Add the summary link for the member.- Parameter:
member
- the member to be documentedcontent
- the content to which the link will be added
-
addSummaryLinkComment
public void addSummaryLinkComment(Element member, List<? extends DocTree> firstSentenceTags, Content tdSummaryContent) Add the summary link comment.- Parameter:
member
- the member being documentedfirstSentenceTags
- the first sentence tags for the member to be documentedtdSummaryContent
- the content to which the comment will be added
-
addInheritedMemberSummary
public void addInheritedMemberSummary(AbstractMemberWriter mw, TypeElement typeElement, Element member, boolean isFirst, Content linksContent) Add the inherited member summary.- Parameter:
mw
- the writer for the member being documentedtypeElement
- the class being documentedmember
- the member being documentedisFirst
- true if it is the first link being documentedlinksContent
- the content to which the summary will be added
-
getContentHeader
Gibt the document content header zurück.- Gibt zurück:
- the document content header
-
addClassContent
Add the class content.- Parameter:
source
- class content which will be added to the documentation
-
addAnnotationContent
Add the annotation content.- Parameter:
source
- annotation content which will be added to the documentation
-
getMemberHeader
Gibt the member header zurück.- Gibt zurück:
- the member header
-
getSummariesList
Returns a list to be used for the list of summaries for members of a given kind.- Gibt zurück:
- a list to be used for the list of summaries for members of a given kind
-
getSummariesListItem
Returns an item for the list of summaries for members of a given kind.- Parameter:
content
- content for the item- Gibt zurück:
- an item for the list of summaries for members of a given kind
-
getDetailsList
Returns a list to be used for the list of details for members of a given kind.- Gibt zurück:
- a list to be used for the list of details for members of a given kind
-
getDetailsListItem
Returns an item for the list of details for members of a given kind.- Parameter:
content
- content for the item- Gibt zurück:
- an item for the list of details for members of a given kind
-
getMemberList
Gibt a list to add member items to zurück.- Gibt zurück:
- a list to add member items to
-
getMemberListItem
Gibt a member item zurück.- Parameter:
member
- the member to represent as an item- Gibt zurück:
- a member item
-
getMemberInherited
-
addSummary
Adds a section for a summary with the given CSS class and id attribute.- Parameter:
style
- the CSS class for the sectionhtmlId
- the id for the sectiontarget
- the list of summary sections to which the summary will be addedsource
- the content representing the summary
-
getMember
Gibt the member content zurück.- Parameter:
content
- the content used to generate the complete member- Gibt zurück:
- the member content
-
getMemberSummary
Gibt the member summary content zurück.- Parameter:
memberContent
- the content used to generate the member summary- Gibt zurück:
- the member summary content
-
getMemberDetailsContent
Gibt the member details zurück.- Parameter:
content
- the content used to generate the member details- Gibt zurück:
- the member details
-
getMember
Get the member content- Parameter:
id
- the id to be used for the contentstyle
- the style class to be added to the contentsource
- the content used to generate the complete member content- Gibt zurück:
- the member content
-