Klasse ConstructorWriterImpl
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractExecutableMemberWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.ConstructorWriterImpl
- Alle implementierten Schnittstellen:
ConstructorWriter,MemberSummaryWriter,MemberWriter
public class ConstructorWriterImpl
extends AbstractExecutableMemberWriter
implements ConstructorWriter, MemberSummaryWriter
Writes constructor documentation.
-
Feldübersicht
Von Klasse geerbte Felder org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
configuration, contents, htmlIds, links, options, resources, typeElement, utils, writer -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstruct a new ConstructorWriterImpl.ConstructorWriterImpl(SubWriterHolderWriter writer, TypeElement typeElement) Construct a new ConstructorWriterImpl. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddComments(ExecutableElement constructor, Content constructorContent) Add the comments for the given constructor.voidaddDeprecated(ExecutableElement constructor, Content constructorContent) Add the deprecated output for the given constructor.voidaddInheritedSummaryLabel(TypeElement typeElement, Content content) Adds inherited summary label for the member.voidaddPreview(ExecutableElement constructor, Content content) Add the preview output for the given member.voidaddSummary(Content summariesList, Content content) Adds the given summary to the list of summaries.voidaddSummaryLabel(Content content) Adds the summary label for the member.protected voidaddSummaryType(Element member, Content content) Adds the summary type for the member.voidaddTags(ExecutableElement constructor, Content constructorContent) Add the tags for the given constructor.Creates the summary table for this element.getConstructorDetails(Content memberDetailsHeader, Content memberDetails) Gibt the constructor details zurück.getConstructorDetailsHeader(Content content) Gibt the constructor details header zurück.getConstructorHeaderContent(ExecutableElement constructor) Gibt the constructor documentation header zurück.getMemberSummaryHeader(TypeElement typeElement, Content content) Returns the member summary header for the given class.getSignature(ExecutableElement constructor) Gibt the signature for the given constructor zurück.getSummaryTableHeader(Element member) Returns the summary table header for the member.voidsetFoundNonPubConstructor(boolean foundNonPubConstructor) Let the writer know whether a non public constructor was found.Von Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractExecutableMemberWriter
addInheritedSummaryLink, addParam, addParameters, addReceiver, addSummaryLink, getExceptions, getParameters, getSummaryLink, getTypeParameters, implementsMethodInIntfac, isAnnotatedReceiverVon Klasse geerbte Methoden org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
addComment, addDeprecatedInfo, addInheritedMemberSummary, addMemberSummary, addModifiersAndType, addPreviewInfo, addSummaryLink, addUseInfo, getInheritedSummaryHeader, getInheritedSummaryLinks, getMember, getMemberList, getMemberListItem, getSummaryTable, name, serialWarningVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.MemberSummaryWriter
addInheritedMemberSummary, addMemberSummary, getInheritedSummaryHeader, getInheritedSummaryLinks, getMember, getSummaryTableVon Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.MemberWriter
getMemberList, getMemberListItem
-
Konstruktordetails
-
ConstructorWriterImpl
Construct a new ConstructorWriterImpl.- Parameter:
writer- The writer for the class that the constructors belong to.typeElement- the class being documented.
-
ConstructorWriterImpl
Construct a new ConstructorWriterImpl.- Parameter:
writer- The writer for the class that the constructors belong to.
-
-
Methodendetails
-
getMemberSummaryHeader
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterReturns the member summary header for the given class.- Angegeben von:
getMemberSummaryHeaderin SchnittstelleMemberSummaryWriter- Parameter:
typeElement- the class the summary belongs tocontent- the content to which the member summary will be added- Gibt zurück:
- the member summary header
-
addSummary
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterAdds the given summary to the list of summaries.- Angegeben von:
addSummaryin SchnittstelleMemberSummaryWriter- Parameter:
summariesList- the list of summariescontent- the summary
-
getConstructorDetailsHeader
Beschreibung aus Schnittstelle kopiert:ConstructorWriterGibt the constructor details header zurück.- Angegeben von:
getConstructorDetailsHeaderin SchnittstelleConstructorWriter- Parameter:
content- the content representing member details- Gibt zurück:
- the constructor details header
-
getConstructorHeaderContent
Beschreibung aus Schnittstelle kopiert:ConstructorWriterGibt the constructor documentation header zurück.- Angegeben von:
getConstructorHeaderContentin SchnittstelleConstructorWriter- Parameter:
constructor- the constructor being documented- Gibt zurück:
- the constructor documentation header
-
getSignature
Beschreibung aus Schnittstelle kopiert:ConstructorWriterGibt the signature for the given constructor zurück.- Angegeben von:
getSignaturein SchnittstelleConstructorWriter- Parameter:
constructor- the constructor being documented- Gibt zurück:
- the signature for the given constructor
-
addDeprecated
Beschreibung aus Schnittstelle kopiert:ConstructorWriterAdd the deprecated output for the given constructor.- Angegeben von:
addDeprecatedin SchnittstelleConstructorWriter- Parameter:
constructor- the constructor being documentedconstructorContent- the content to which the deprecated information will be added
-
addPreview
Beschreibung aus Schnittstelle kopiert:ConstructorWriterAdd the preview output for the given member.- Angegeben von:
addPreviewin SchnittstelleConstructorWriter- Parameter:
constructor- the member being documentedcontent- the content to which the preview information will be added
-
addComments
Beschreibung aus Schnittstelle kopiert:ConstructorWriterAdd the comments for the given constructor.- Angegeben von:
addCommentsin SchnittstelleConstructorWriter- Parameter:
constructor- the constructor being documentedconstructorContent- the content to which the comments will be added
-
addTags
Beschreibung aus Schnittstelle kopiert:ConstructorWriterAdd the tags for the given constructor.- Angegeben von:
addTagsin SchnittstelleConstructorWriter- Parameter:
constructor- the constructor being documentedconstructorContent- the content to which the tags will be added
-
getConstructorDetails
Beschreibung aus Schnittstelle kopiert:ConstructorWriterGibt the constructor details zurück.- Angegeben von:
getConstructorDetailsin SchnittstelleConstructorWriter- Parameter:
memberDetailsHeader- the content representing member details headermemberDetails- the content representing member details- Gibt zurück:
- the constructor details
-
setFoundNonPubConstructor
Beschreibung aus Schnittstelle kopiert:ConstructorWriterLet the writer know whether a non public constructor was found.- Angegeben von:
setFoundNonPubConstructorin SchnittstelleConstructorWriter- Parameter:
foundNonPubConstructor- true if we found a non public constructor.
-
addSummaryLabel
Beschreibung aus Klasse kopiert:AbstractMemberWriterAdds the summary label for the member.- Angegeben von:
addSummaryLabelin KlasseAbstractMemberWriter- Parameter:
content- the content to which the label will be added
-
getSummaryTableHeader
Beschreibung aus Klasse kopiert:AbstractMemberWriterReturns the summary table header for the member.- Angegeben von:
getSummaryTableHeaderin KlasseAbstractMemberWriter- Parameter:
member- the member to be documented- Gibt zurück:
- the summary table header
-
createSummaryTable
Beschreibung aus Klasse kopiert:AbstractMemberWriterCreates the summary table for this element.The table should be created and initialized if needed, and configured so that it is ready to add content with
Table.addRow(Content[])and similar methods.- Angegeben von:
createSummaryTablein KlasseAbstractMemberWriter- Gibt zurück:
- the summary table
-
addInheritedSummaryLabel
Beschreibung aus Klasse kopiert:AbstractMemberWriterAdds inherited summary label for the member.- Angegeben von:
addInheritedSummaryLabelin KlasseAbstractMemberWriter- Parameter:
typeElement- the type element to which to link tocontent- the content to which the inherited summary label will be added
-
addSummaryType
Beschreibung aus Klasse kopiert:AbstractMemberWriterAdds the summary type for the member.- Angegeben von:
addSummaryTypein KlasseAbstractMemberWriter- Parameter:
member- the member to be documentedcontent- the content to which the type will be added
-
getMemberHeader
- Angegeben von:
getMemberHeaderin SchnittstelleConstructorWriter- Gibt zurück:
- the member header}
-