Klasse EnumConstantWriterImpl
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
org.jdrupes.mdoclet.internal.doclets.formats.html.EnumConstantWriterImpl
- Alle implementierten Schnittstellen:
EnumConstantWriter
,MemberSummaryWriter
,MemberWriter
public class EnumConstantWriterImpl
extends AbstractMemberWriter
implements EnumConstantWriter, MemberSummaryWriter
Writes enum constant documentation in HTML format.
-
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
KonstruktorBeschreibungEnumConstantWriterImpl
(SubWriterHolderWriter writer, TypeElement typeElement) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addComments
(VariableElement enumConstant, Content enumConstants) Add the comments for the given enum constant.void
addDeprecated
(VariableElement enumConstant, Content content) Add the deprecated output for the given enum constant.void
addInheritedSummaryLabel
(TypeElement typeElement, Content content) Adds inherited summary label for the member.protected void
addInheritedSummaryLink
(TypeElement typeElement, Element member, Content target) Adds the inherited summary link for the member.void
addPreview
(VariableElement enumConstant, Content content) Add the preview output for the given member.void
addSummary
(Content summariesList, Content content) Adds the given summary to the list of summaries.void
addSummaryLabel
(Content content) Adds the summary label for the member.protected void
addSummaryLink
(HtmlLinkInfo.Kind context, TypeElement typeElement, Element member, Content content) Adds the summary link for the member.protected void
addSummaryType
(Element member, Content content) Adds the summary type for the member.void
addTags
(VariableElement enumConstant, Content content) Add the tags for the given enum constant.Creates the summary table for this element.getEnumConstantsDetails
(Content memberDetailsHeader, Content content) Get the enum constants details.getEnumConstantsDetailsHeader
(TypeElement typeElement, Content memberDetails) Get the enum constants details header.getEnumConstantsHeader
(VariableElement enumConstant, Content enumConstantsDetails) Get the enum constants documentation header.Gets the member header.getMemberSummaryHeader
(TypeElement typeElement, Content content) Returns the member summary header for the given class.getSignature
(VariableElement enumConstant) Get the signature for the given enum constant.protected Content
getSummaryLink
(Element member) Returns a link for summary (deprecated, preview) pages.getSummaryTableHeader
(Element member) Returns the summary table header for the member.Von 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, serialWarning
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.MemberSummaryWriter
addInheritedMemberSummary, addMemberSummary, getInheritedSummaryHeader, getInheritedSummaryLinks, getMember, getSummaryTable
Von Schnittstelle geerbte Methoden org.jdrupes.mdoclet.internal.doclets.toolkit.MemberWriter
getMemberList, getMemberListItem
-
Konstruktordetails
-
EnumConstantWriterImpl
-
EnumConstantWriterImpl
-
-
Methodendetails
-
getMemberSummaryHeader
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriter
Returns the member summary header for the given class.- Angegeben von:
getMemberSummaryHeader
in 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:MemberSummaryWriter
Adds the given summary to the list of summaries.- Angegeben von:
addSummary
in SchnittstelleMemberSummaryWriter
- Parameter:
summariesList
- the list of summariescontent
- the summary
-
getEnumConstantsDetailsHeader
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Get the enum constants details header.- Angegeben von:
getEnumConstantsDetailsHeader
in SchnittstelleEnumConstantWriter
- Parameter:
typeElement
- the class being documentedmemberDetails
- the content representing member details- Gibt zurück:
- a content for the enum constants details header
-
getEnumConstantsHeader
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Get the enum constants documentation header.- Angegeben von:
getEnumConstantsHeader
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the enum constant being documentedenumConstantsDetails
- the content representing enum constant details- Gibt zurück:
- the enum constant documentation header
-
getSignature
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Get the signature for the given enum constant.- Angegeben von:
getSignature
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the enum constant being documented- Gibt zurück:
- the enum constant signature
-
addDeprecated
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Add the deprecated output for the given enum constant.- Angegeben von:
addDeprecated
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the enum constant being documentedcontent
- the content to which the deprecated information will be added
-
addPreview
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Add the preview output for the given member.- Angegeben von:
addPreview
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the member being documentedcontent
- the content to which the preview information will be added
-
addComments
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Add the comments for the given enum constant.- Angegeben von:
addComments
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the enum constant being documentedenumConstants
- the content to which the comments will be added
-
addTags
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Add the tags for the given enum constant.- Angegeben von:
addTags
in SchnittstelleEnumConstantWriter
- Parameter:
enumConstant
- the enum constant being documentedcontent
- the content to which the tags will be added
-
getEnumConstantsDetails
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Get the enum constants details.- Angegeben von:
getEnumConstantsDetails
in SchnittstelleEnumConstantWriter
- Parameter:
memberDetailsHeader
- member details headercontent
- the content representing member details- Gibt zurück:
- the enum constant details
-
addSummaryLabel
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Adds the summary label for the member.- Angegeben von:
addSummaryLabel
in KlasseAbstractMemberWriter
- Parameter:
content
- the content to which the label will be added
-
getSummaryTableHeader
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Returns the summary table header for the member.- Angegeben von:
getSummaryTableHeader
in KlasseAbstractMemberWriter
- Parameter:
member
- the member to be documented- Gibt zurück:
- the summary table header
-
createSummaryTable
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Creates 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:
createSummaryTable
in KlasseAbstractMemberWriter
- Gibt zurück:
- the summary table
-
addInheritedSummaryLabel
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Adds inherited summary label for the member.- Angegeben von:
addInheritedSummaryLabel
in KlasseAbstractMemberWriter
- Parameter:
typeElement
- the type element to which to link tocontent
- the content to which the inherited summary label will be added
-
addSummaryLink
protected void addSummaryLink(HtmlLinkInfo.Kind context, TypeElement typeElement, Element member, Content content) Beschreibung aus Klasse kopiert:AbstractMemberWriter
Adds the summary link for the member.- Angegeben von:
addSummaryLink
in KlasseAbstractMemberWriter
- Parameter:
context
- the id of the context where the link will be printedtypeElement
- the type element to be documentedmember
- the member to be documentedcontent
- the content to which the summary link will be added
-
addInheritedSummaryLink
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Adds the inherited summary link for the member.- Angegeben von:
addInheritedSummaryLink
in KlasseAbstractMemberWriter
- Parameter:
typeElement
- the type element to be documentedmember
- the member to be documentedtarget
- the content to which the inherited summary link will be added
-
addSummaryType
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Adds the summary type for the member.- Angegeben von:
addSummaryType
in KlasseAbstractMemberWriter
- Parameter:
member
- the member to be documentedcontent
- the content to which the type will be added
-
getSummaryLink
Beschreibung aus Klasse kopiert:AbstractMemberWriter
Returns a link for summary (deprecated, preview) pages.- Angegeben von:
getSummaryLink
in KlasseAbstractMemberWriter
- Parameter:
member
- the member being linked to- Gibt zurück:
- the link
-
getMemberHeader
Beschreibung aus Schnittstelle kopiert:EnumConstantWriter
Gets the member header.- Angegeben von:
getMemberHeader
in SchnittstelleEnumConstantWriter
- Gibt zurück:
- the member header
-