buildSummary(Content) and buildDetails(Content).
| Modifier and Type | Field and Description |
|---|---|
| protected final HtmlConfiguration | |
| protected final Contents | |
| pack-priv static final List | detailKinds
The list of kinds of detail lists that appear in the page for any type element. |
| protected final HtmlIds | |
| protected final VisibleMemberTable. | |
| protected final HtmlOptions | |
| protected final Resources | |
| protected final Comparator | |
| pack-priv static final List | summaryKinds
The list of kinds of summary table that appear in the page for any type element. |
| private Table | |
| protected final TypeElement | |
| protected final Utils | |
| protected final VisibleMemberTable | |
| protected final SubWriterHolderWriter |
| Access | Constructor and Description |
|---|---|
| protected | AbstractMemberWriter(ClassWriter
the enclosing "page" writer. writer, VisibleMemberTable.the kind kindCreates a member writer for a given enclosing writer and kind of member. |
| protected | AbstractMemberWriter(SubWriterHolderWriter
the writer writer)Creates a member writer for a given enclosing writer. |
| protected | AbstractMemberWriter(SubWriterHolderWriter
the writer writer, TypeElement typeElement, VisibleMemberTable.Creates a member writer for a given enclosing writer, and optional type element and member kind. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addComment(Element
the member being documented. member, Content the content to which the comment will be added. content)Adds the comment for the given member. |
| protected void | addDeprecatedInfo(Element
the member being documented. member, Content the content to which the deprecated information will be added. target)Adds the deprecated information for the given member. |
| public void | addInheritedMemberSummary(TypeElement
the class the inherited member belongs to tElement, Element the inherited member that is being documented member, boolean true if this is the first member in the list isFirst, Content the content to which the links will be added content)Adds the inherited member summary for the given class and member. |
| public void | addInheritedSummaryLabel(TypeElement
the type element to which to link to typeElement, Content the content to which the inherited summary label will be added content)Adds inherited summary label for the member. |
| protected void | addInheritedSummaryLink(TypeElement
the type element to be documented typeElement, Element the member to be documented member, Content the content to which the inherited summary link will be added target)Adds the inherited summary link for the member. |
| public void | addMemberSummary(TypeElement
the class the summary belongs to tElement, Element the member that is documented member, List<? extends DocTree> the tags for the sentence being documented firstSentenceTrees, Table<Element> table)Adds the member summary for the given class and member. |
| private void | addMemberSummaryTableRow(TypeElement
the enclosing type of the member enclosingType, Element the member member, Table<Element> the summary table table, PropertyUtils.property helper to patch doctree propertyHelperAdds the summary table row for a member. |
| private void | addModifiers(Element
the member to add the modifiers for member, Content the content to which the modifiers will be added target)Adds the modifiers for the member. |
| protected void | addModifiersAndType(Element
the member to add the modifiers and type for member, TypeMirror the type to add type, Content the content to which the modifiers and type will be added target)Adds the modifiers and type for the member in the member summary. |
| protected void | addPreviewInfo(Element
the member being documented. member, Content the content to which the preview information will be added. content)Add the preview information for the given member. |
| protected void | addRestrictedInfo(ExecutableElement
the method being documented. method, Content the content to which the preview information will be added. content)Add the restricted information for the given method. |
| private void | |
| public abstract void | addSummaryLabel(Content
the content to which the label will be added content)Adds the summary label for the member. |
| protected void | addSummaryLink(TypeElement
the type element to be documented typeElement, Element the member to be documented member, Content the content to which the link will be added content)Adds the summary link for the member. |
| protected abstract void | addSummaryLink(HtmlLinkInfo.
the id of the context where the link will be printed context,the type element to be documented typeElement, Element the member to be documented member, Content the content to which the summary link will be added content)Adds the summary link for the member. |
| protected abstract void | addSummaryType(Element
the member to be documented member, Content the content to which the type will be added content)Adds the summary type for the member. |
| protected void | addUseInfo(List<? extends Element>
list of program elements for which the use information will be added members, Content the section heading heading, Content the content to which the use information will be added content)Adds use information to the documentation. |
| private SortedSet | |
| protected abstract void | buildDeprecationInfo(Content
the content to which the documentation will be added target)Builds the deprecation info. |
| public abstract void | buildDetails(Content
the content to which the list will be added target)Builds the list of "details" for all members of this kind. |
| private int | Returns: the number of added summary lists, excluding methods from java.lang.Objectthe list of contents to which the documentation will be added targets, Map<HtmlId, Content> map of TOC entries for added summaries tocEntries)Builds the inherited member summary for the members of this kind. |
| private int | Returns: the number of documented membersthe list of contents to which the documentation will be added summaryTreeList)Builds the main summary table for the members of this kind. |
| protected abstract void | buildPreviewInfo(Content
the content to which the documentation will be added target)Builds the preview info. |
| protected abstract void | buildSignature(Content
the content to which the documentation will be added target)Builds the signature. |
| public void | buildSummary(Content
the content to which the list will be added target)Builds the "summary" for all members of this kind. |
| public abstract void | buildSummary(Content
the list of summaries summariesList, Content the summary content)Adds the given summary to the list of summaries. |
| protected Table | Returns: a summary tablethe superclass or interface typeElement)Creates a summary table for members of the kind supported by this writer inherited
from |
| protected abstract Table | |
| public Content | Returns: the inherited member summary headerthe class the summary belongs to tElement)Returns the inherited member summary header for the given class. |
| protected HtmlId | Returns: the id for the summary tablethe superclass or interface typeElement)Creates an id for a summary table for members of the kind supported by this writer
inherited from |
| public Content | |
| public Content | |
| protected Content | |
| protected Content | Returns: a member itemthe member to represent as an item memberContent)Returns a member item. |
| public abstract Content | Returns: the member summary headerthe content to which the member summary will be added content)Returns the member summary header for the given class. |
| protected Content | Returns: a link to the member summary section of class or interfaceelement indicated
by summaryKind with the simple type name as link label, or the fully qualified type name
if the class or interface is not linkableReturns a link to the member summary section of class or interface |
| private Content | |
| protected abstract Content | Returns: the linkthe member being linked to member)Returns a link for summary (deprecated, preview) pages. |
| private Table | |
| public Content | Returns: the summary tablethe class the summary table belongs to tElement)Returns the summary table for the given class. |
| public abstract TableHeader | Returns: the summary table headerthe member to be documented member)Returns the summary table header for the member. |
| protected List | Returns: a list of membersof members kindReturns a list of visible elements of the specified kind in this type element. |
| protected String | |
| protected void |
| configuration | back to summary |
|---|---|
| protected final HtmlConfiguration configuration | |
| contents | back to summary |
|---|---|
| protected final Contents contents | |
| detailKinds | back to summary |
|---|---|
| pack-priv static final List<VisibleMemberTable. The list of kinds of detail lists that appear in the page for any type element. Note this is not the default ordering of | |
| htmlIds | back to summary |
|---|---|
| protected final HtmlIds htmlIds | |
| kind | back to summary |
|---|---|
| protected final VisibleMemberTable. | |
| options | back to summary |
|---|---|
| protected final HtmlOptions options | |
| resources | back to summary |
|---|---|
| protected final Resources resources | |
| summariesComparator | back to summary |
|---|---|
| protected final Comparator<Element> summariesComparator | |
| summaryKinds | back to summary |
|---|---|
| pack-priv static final List<VisibleMemberTable. The list of kinds of summary table that appear in the page for any type element. Note this is not the default ordering of | |
| summaryTable | back to summary |
|---|---|
| private Table<Element> summaryTable | |
| typeElement | back to summary |
|---|---|
| protected final TypeElement typeElement | |
| utils | back to summary |
|---|---|
| protected final Utils utils | |
| visibleMemberTable | back to summary |
|---|---|
| protected final VisibleMemberTable visibleMemberTable | |
| writer | back to summary |
|---|---|
| protected final SubWriterHolderWriter writer | |
| AbstractMemberWriter | back to summary |
|---|---|
| protected AbstractMemberWriter(ClassWriter writer, VisibleMemberTable. Creates a member writer for a given enclosing writer and kind of member.
| |
| AbstractMemberWriter | back to summary |
|---|---|
| protected AbstractMemberWriter(SubWriterHolderWriter writer) Creates a member writer for a given enclosing writer. No type element or kind is provided, limiting the set of methods that can be used.
| |
| AbstractMemberWriter | back to summary |
|---|---|
| protected AbstractMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement, VisibleMemberTable. Creates a member writer for a given enclosing writer, and optional type element and member kind.
If no specific type element or kind is provided, methods that require such information
may throw
| |
| addComment | back to summary |
|---|---|
| protected void addComment(Element member, Content content) Adds the comment for the given member. | |
| addDeprecatedInfo | back to summary |
|---|---|
| protected void addDeprecatedInfo(Element member, Content target) Adds the deprecated information for the given member. | |
| addInheritedMemberSummary | back to summary |
|---|---|
| public void addInheritedMemberSummary(TypeElement tElement, Element member, boolean isFirst, Content content) Adds the inherited member summary for the given class and member.
| |
| addInheritedSummaryLabel | back to summary |
|---|---|
| public void addInheritedSummaryLabel(TypeElement typeElement, Content content) Adds inherited summary label for the member.
| |
| addInheritedSummaryLink | back to summary |
|---|---|
| protected void addInheritedSummaryLink(TypeElement typeElement, Element member, Content target) Adds the inherited summary link for the member.
| |
| addMemberSummary | back to summary |
|---|---|
| public void addMemberSummary(TypeElement tElement, Element member, List<? extends DocTree> firstSentenceTrees, Table<Element> table) Adds the member summary for the given class and member.
| |
| addMemberSummaryTableRow | back to summary |
|---|---|
| private void addMemberSummaryTableRow(TypeElement enclosingType, Element member, Table<Element> table, PropertyUtils. Adds the summary table row for a member.
| |
| addModifiers | back to summary |
|---|---|
| private void addModifiers(Element member, Content target) Adds the modifiers for the member. | |
| addModifiersAndType | back to summary |
|---|---|
| protected void addModifiersAndType(Element member, TypeMirror type, Content target) Adds the modifiers and type for the member in the member summary.
| |
| addPreviewInfo | back to summary |
|---|---|
| protected void addPreviewInfo(Element member, Content content) Add the preview information for the given member. | |
| addRestrictedInfo | back to summary |
|---|---|
| protected void addRestrictedInfo(ExecutableElement method, Content content) Add the restricted information for the given method.
| |
| addSummaryFootNote | back to summary |
|---|---|
| private void addSummaryFootNote(TypeElement inheritedClass, Iterable<Element> inheritedMembers, Content links) | |
| addSummaryLabel | back to summary |
|---|---|
| public abstract void addSummaryLabel(Content content) Adds the summary label for the member.
| |
| addSummaryLink | back to summary |
|---|---|
| protected void addSummaryLink(TypeElement typeElement, Element member, Content content) Adds the summary link for the member.
| |
| addSummaryLink | back to summary |
|---|---|
| protected abstract void addSummaryLink(HtmlLinkInfo. Adds the summary link for the member.
| |
| addSummaryType | back to summary |
|---|---|
| protected abstract void addSummaryType(Element member, Content content) Adds the summary type for the member. | |
| addUseInfo | back to summary |
|---|---|
| protected void addUseInfo(List<? extends Element> members, Content heading, Content content) Adds use information to the documentation. | |
| asSortedSet | back to summary |
|---|---|
| private SortedSet | |
| buildDeprecationInfo | back to summary |
|---|---|
| protected abstract void buildDeprecationInfo(Content target) Builds the deprecation info.
| |
| buildDetails | back to summary |
|---|---|
| public abstract void buildDetails(Content target) Builds the list of "details" for all members of this kind.
| |
| buildInheritedSummary | back to summary |
|---|---|
| private int buildInheritedSummary(List<Content> targets, Map<HtmlId, Content> tocEntries) Builds the inherited member summary for the members of this kind. | |
| buildMainSummary | back to summary |
|---|---|
| private int buildMainSummary(List<Content> summaryTreeList) Builds the main summary table for the members of this kind. | |
| buildPreviewInfo | back to summary |
|---|---|
| protected abstract void buildPreviewInfo(Content target) Builds the preview info.
| |
| buildSignature | back to summary |
|---|---|
| protected abstract void buildSignature(Content target) Builds the signature.
| |
| buildSummary | back to summary |
|---|---|
| public void buildSummary(Content target) Builds the "summary" for all members of this kind.
| |
| buildSummary | back to summary |
|---|---|
| public abstract void buildSummary(Content summariesList, Content content) Adds the given summary to the list of summaries. | |
| createInheritedSummaryTable | back to summary |
|---|---|
| protected Table Creates a summary table for members of the kind supported by this writer inherited
from
| |
| createSummaryTable | back to summary |
|---|---|
| protected abstract Table 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 | |
| getInheritedSummaryHeader | back to summary |
|---|---|
| public Content getInheritedSummaryHeader(TypeElement tElement) Returns the inherited member summary header for the given class.
| |
| getInheritedSummaryId | back to summary |
|---|---|
| protected HtmlId getInheritedSummaryId(TypeElement typeElement) Creates an id for a summary table for members of the kind supported by this writer
inherited from
| |
| getInheritedSummaryLinks | back to summary |
|---|---|
| public Content getInheritedSummaryLinks() Returns the inherited summary links.
| |
| getMember | back to summary |
|---|---|
| public Content getMember(Content memberContent) Returns the member content. | |
| getMemberList | back to summary |
|---|---|
| protected Content getMemberList() Returns a list to add member items to.
| |
| getMemberListItem | back to summary |
|---|---|
| protected Content getMemberListItem(Content memberContent) Returns a member item.
| |
| getMemberSummaryHeader | back to summary |
|---|---|
| public abstract Content getMemberSummaryHeader(Content content) Returns the member summary header for the given class. | |
| getMemberSummaryLinkOrFQN | back to summary |
|---|---|
| protected Content getMemberSummaryLinkOrFQN(TypeElement element, VisibleMemberTable. Returns a link to the member summary section of class or interface
| |
| getSummaryLabel | back to summary |
|---|---|
| private Content getSummaryLabel() | |
| getSummaryLink | back to summary |
|---|---|
| protected abstract Content getSummaryLink(Element member) Returns a link for summary (deprecated, preview) pages. | |
| getSummaryTable | back to summary |
|---|---|
| private Table | |
| getSummaryTable | back to summary |
|---|---|
| public Content getSummaryTable(TypeElement tElement) Returns the summary table for the given class.
| |
| getSummaryTableHeader | back to summary |
|---|---|
| public abstract TableHeader getSummaryTableHeader(Element member) Returns the summary table header for the member.
| |
| getVisibleMembers | back to summary |
|---|---|
| protected List Returns a list of visible elements of the specified kind in this type element.
| |
| name | back to summary |
|---|---|
| protected String name(Element member) | |
| serialWarning | back to summary |
|---|---|
| protected void serialWarning(Element e, String key, String a1, String a2) | |