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
Modifizierer und TypFeldBeschreibungprotected final HtmlConfiguration
protected final Contents
protected final HtmlIds
protected final Links
protected final HtmlOptions
protected final Resources
protected final TypeElement
protected final Utils
protected final SubWriterHolderWriter
-
Konstruktorübersicht
KonstruktorBeschreibungAbstractMemberWriter
(SubWriterHolderWriter writer, TypeElement typeElement) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
addComment
(Element member, Content content) Adds the comment for the given member.protected void
addDeprecatedInfo
(Element member, Content target) Adds the deprecated information for the given member.void
addInheritedMemberSummary
(TypeElement tElement, Element nestedClass, boolean isFirst, boolean isLast, Content content) Adds the inherited member summary for the given class and member.abstract void
addInheritedSummaryLabel
(TypeElement typeElement, Content content) Adds inherited summary label for the member.protected abstract void
addInheritedSummaryLink
(TypeElement typeElement, Element member, Content target) Adds the inherited summary link for the member.void
addMemberSummary
(TypeElement tElement, Element member, List<? extends DocTree> firstSentenceTrees) Adds the member summary for the given class and member.protected void
addModifiersAndType
(Element member, TypeMirror type, Content target) Adds the modifiers and type for the member in the member summary.protected void
addPreviewInfo
(Element member, Content content) Add the preview information for the given member.abstract void
addSummaryLabel
(Content content) Adds the summary label for the member.protected void
addSummaryLink
(TypeElement typeElement, Element member, Content content) Adds the summary link for the member.protected abstract void
addSummaryLink
(HtmlLinkInfo.Kind context, TypeElement typeElement, Element member, Content content) Adds the summary link for the member.protected abstract void
addSummaryType
(Element member, Content content) Adds the summary type for the member.protected void
addUseInfo
(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 Content
getSummaryLink
(Element member) Returns a link for summary (deprecated, preview) pages.getSummaryTable
(TypeElement tElement) Returns the summary table for the given class.abstract TableHeader
getSummaryTableHeader
(Element member) Returns the summary table header for the member.protected String
protected void
serialWarning
(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, wait
Von 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:MemberSummaryWriter
Adds the member summary for the given class and member.- Angegeben von:
addMemberSummary
in 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:MemberSummaryWriter
Adds the inherited member summary for the given class and member.- Angegeben von:
addInheritedMemberSummary
in 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:MemberSummaryWriter
Returns the inherited member summary header for the given class.- Angegeben von:
getInheritedSummaryHeader
in SchnittstelleMemberSummaryWriter
- Parameter:
tElement
- the class the summary belongs to- Gibt zurück:
- the inherited member summary header
-
getInheritedSummaryLinks
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriter
Returns the inherited summary links.- Angegeben von:
getInheritedSummaryLinks
in SchnittstelleMemberSummaryWriter
- Gibt zurück:
- the inherited summary links
-
getSummaryTable
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriter
Returns the summary table for the given class.- Angegeben von:
getSummaryTable
in SchnittstelleMemberSummaryWriter
- Parameter:
tElement
- the class the summary table belongs to- Gibt zurück:
- the summary table
-
getMember
Beschreibung aus Schnittstelle kopiert:MemberSummaryWriter
Returns the member content.- Angegeben von:
getMember
in SchnittstelleMemberSummaryWriter
- Parameter:
memberContent
- the content representing the member- Gibt zurück:
- the member content
-
getMemberList
Beschreibung aus Schnittstelle kopiert:MemberWriter
Gibt a list to add member items to zurück.- Angegeben von:
getMemberList
in SchnittstelleMemberWriter
- Gibt zurück:
- a list to add member items to
- Siehe auch:
-
getMemberListItem
Beschreibung aus Schnittstelle kopiert:MemberWriter
Gibt a member item zurück.- Angegeben von:
getMemberListItem
in SchnittstelleMemberWriter
- Parameter:
memberContent
- the member to represent as an item- Gibt zurück:
- a member item
- Siehe auch:
-