Klasse AbstractMemberWriter
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.AbstractMemberWriter
- Alle implementierten Schnittstellen:
MemberSummaryWriter,MemberWriter
- Bekannte direkte Unterklassen:
AbstractExecutableMemberWriter,AnnotationTypeMemberWriterImpl,EnumConstantWriterImpl,FieldWriterImpl,NestedClassWriterImpl,PropertyWriterImpl
public abstract class AbstractMemberWriter
extends Object
implements MemberSummaryWriter, MemberWriter
The base class for member writers.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final HtmlConfigurationprotected final Contentsprotected final HtmlIdsprotected final Linksprotected final HtmlOptionsprotected final Resourcesprotected final TypeElementprotected final Utilsprotected final SubWriterHolderWriter -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddComment(Element member, Content content) Adds the comment for the given member.protected voidaddDeprecatedInfo(Element member, Content target) Adds the deprecated information for the given member.voidaddInheritedMemberSummary(TypeElement tElement, Element nestedClass, boolean isFirst, boolean isLast, Content content) Adds the inherited member summary for the given class and member.abstract voidaddInheritedSummaryLabel(TypeElement typeElement, Content content) Adds inherited summary label for the member.protected abstract voidaddInheritedSummaryLink(TypeElement typeElement, Element member, Content target) Adds the inherited summary link for the member.voidaddMemberSummary(TypeElement tElement, Element member, List<? extends DocTree> firstSentenceTrees) Adds the member summary for the given class and member.protected voidaddModifiersAndType(Element member, TypeMirror type, Content target) Adds the modifiers and type for the member in the member summary.protected voidaddPreviewInfo(Element member, Content content) Add the preview information for the given member.abstract voidaddSummaryLabel(Content content) Adds the summary label for the member.protected voidaddSummaryLink(TypeElement typeElement, Element member, Content content) Adds the summary link for the member.protected abstract voidaddSummaryLink(HtmlLinkInfo.Kind context, TypeElement typeElement, Element member, Content content) Adds the summary link for the member.protected abstract voidaddSummaryType(Element member, Content content) Adds the summary type for the member.protected voidaddUseInfo(List<? extends Element> members, Content heading, Content content) Adds use information to the documentation.Creates the summary table for this element.getInheritedSummaryHeader(TypeElement tElement) Returns the inherited member summary header for the given class.Returns the inherited summary links.Returns the member content.Gibt a list to add member items to zurück.getMemberListItem(Content memberContent) Gibt a member item zurück.protected abstract ContentgetSummaryLink(Element member) Returns a link for summary (deprecated, preview) pages.getSummaryTable(TypeElement tElement) Returns the summary table for the given class.abstract TableHeadergetSummaryTableHeader(Element member) Returns the summary table header for the member.protected Stringprotected voidserialWarning(Element e, String key, String a1, String a2) Von 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
addSummary, getMemberSummaryHeader
-
Felddetails
-
configuration
-
options
-
utils
-
writer
-
contents
-
resources
-
links
-
htmlIds
-
typeElement
-
-
Konstruktordetails
-
AbstractMemberWriter
-
AbstractMemberWriter
-
-
Methodendetails
-
addSummaryLabel
Adds the summary label for the member.- Parameter:
content- the content to which the label will be added
-
getSummaryTableHeader
Returns the summary table header for the member.- Parameter:
member- the member to be documented- Gibt zurück:
- the summary table header
-
createSummaryTable
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.- Gibt zurück:
- the summary table
-
addInheritedSummaryLabel
Adds inherited summary label for the member.- Parameter:
typeElement- the type element to which to link tocontent- the content to which the inherited summary label will be added
-
addSummaryType
Adds the summary type for the member.- Parameter:
member- the member to be documentedcontent- the content to which the type will be added
-
addSummaryLink
Adds the summary link for the member.- Parameter:
typeElement- the type element to be documentedmember- the member to be documentedcontent- the content to which the link will be added
-
addSummaryLink
protected abstract void addSummaryLink(HtmlLinkInfo.Kind context, TypeElement typeElement, Element member, Content content) Adds the summary link for the member.- 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
protected abstract void addInheritedSummaryLink(TypeElement typeElement, Element member, Content target) Adds the inherited summary link for the member.- Parameter:
typeElement- the type element to be documentedmember- the member to be documentedtarget- the content to which the inherited summary link will be added
-
getSummaryLink
Returns a link for summary (deprecated, preview) pages.- Parameter:
member- the member being linked to- Gibt zurück:
- the link
-
addModifiersAndType
Adds the modifiers and type for the member in the member summary.- Parameter:
member- the member to add the modifiers and type fortype- the type to addtarget- the content to which the modifiers and type will be added
-
addDeprecatedInfo
Adds the deprecated information for the given member.- Parameter:
member- the member being documented.target- the content to which the deprecated information will be added.
-
addComment
Adds the comment for the given member.- Parameter:
member- the member being documented.content- the content to which the comment will be added.
-
addPreviewInfo
Add the preview information for the given member.- Parameter:
member- the member being documented.content- the content to which the preview information will be added.
-
name
-
addUseInfo
Adds use information to the documentation.- Parameter:
members- list of program elements for which the use information will be addedheading- the section headingcontent- the content to which the use information will be added
-
serialWarning
-
addMemberSummary
public void addMemberSummary(TypeElement tElement, Element member, List<? extends DocTree> firstSentenceTrees) Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterAdds the member summary for the given class and member.- Angegeben von:
addMemberSummaryin SchnittstelleMemberSummaryWriter- Parameter:
tElement- the class the summary belongs tomember- the member that is documentedfirstSentenceTrees- the tags for the sentence being documented
-
addInheritedMemberSummary
public void addInheritedMemberSummary(TypeElement tElement, Element nestedClass, boolean isFirst, boolean isLast, Content content) Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterAdds the inherited member summary for the given class and member.- Angegeben von:
addInheritedMemberSummaryin SchnittstelleMemberSummaryWriter- Parameter:
tElement- the class the inherited member belongs tonestedClass- the inherited member that is being documentedisFirst- true if this is the first member in the listisLast- true if this is the last member in the listcontent- the content to which the links will be added
-
getInheritedSummaryHeader
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterReturns the inherited member summary header for the given class.- Angegeben von:
getInheritedSummaryHeaderin SchnittstelleMemberSummaryWriter- Parameter:
tElement- the class the summary belongs to- Gibt zurück:
- the inherited member summary header
-
getInheritedSummaryLinks
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterReturns the inherited summary links.- Angegeben von:
getInheritedSummaryLinksin SchnittstelleMemberSummaryWriter- Gibt zurück:
- the inherited summary links
-
getSummaryTable
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterReturns the summary table for the given class.- Angegeben von:
getSummaryTablein SchnittstelleMemberSummaryWriter- Parameter:
tElement- the class the summary table belongs to- Gibt zurück:
- the summary table
-
getMember
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriterReturns the member content.- Angegeben von:
getMemberin SchnittstelleMemberSummaryWriter- Parameter:
memberContent- the content representing the member- Gibt zurück:
- the member content
-
getMemberList
Beschreibung aus Schnittstelle kopiert:MemberWriterGibt a list to add member items to zurück.- Angegeben von:
getMemberListin SchnittstelleMemberWriter- Gibt zurück:
- a list to add member items to
- Siehe auch:
-
getMemberListItem
Beschreibung aus Schnittstelle kopiert:MemberWriterGibt a member item zurück.- Angegeben von:
getMemberListItemin SchnittstelleMemberWriter- Parameter:
memberContent- the member to represent as an item- Gibt zurück:
- a member item
- Siehe auch:
-