buildPage().
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected final Comparators | |
| public final HtmlConfiguration | configuration
The global configuration information for this run. |
| protected final Contents | |
| protected final DocPaths | |
| private static final Pattern | |
| private final Set | |
| protected final HtmlIds | |
| public final Map | indexAnchorTable
A table of the anchors used for at-index and related tags, so that they can be made unique by appending a suitable suffix. |
| private boolean | isAnnotationDocumented
To check whether the repeated annotations is documented or not. |
| private boolean | isContainerDocumented
To check whether the container annotations is documented or not. |
| public final Links | |
| protected Script | |
| public final Messages | |
| protected final HtmlOptions | |
| public final DocPath | path
Platform-independent path from the current or the destination directory to the file getting generated. |
| public final DocPath | pathToRoot
Relative path from the file getting generated to the destination directory. |
| protected final Resources | |
| protected final TableOfContents | |
| protected final Utils | |
| protected String | winTitle
The window title of this file. |
| Access | Constructor and Description |
|---|---|
| public | HtmlDocletWriter(HtmlConfiguration
the configuration for this doclet configuration, DocPath the file to be generated. path)Creates an |
| protected | HtmlDocletWriter(HtmlConfiguration
the configuration for this doclet configuration, DocPath the file to be generated. path, boolean whether to write a "Generating ..." message to the console generating)Creates an |
| Modifier and Type | Method and Description |
|---|---|
| private void | addAnnotations(TypeElement
the annotation being documented annotationDoc, HtmlLinkInfo the information about the link linkInfo, ContentBuilder the annotation string to which the annotation will be added annotation, Map<? extends ExecutableElement, ? extends AnnotationValue> annotation type element to annotation value pairs map, boolean if true, add new line between each member value linkBreak)Add annotation to the annotation string. |
| private void | addCommentTags(Element
the Element for which the comment tags will be generated element, List<? extends DocTree> the first sentence tags for the doc tags, boolean true if it is deprecated depr, boolean true if the first sentence tags should be added first, boolean true if the comment tags are added into the summary section inSummary, Content the content to which the comment tags will be added target)Adds the comment tags. |
| public void | addInlineComment(Element
the Element for which the inline comment will be added element, DocTree the inline tag to be added tag, Content the content to which the comment will be added target)Add the inline comment. |
| public void | addInlineComment(Element
the element for which the content will be added element, Content the content to which the content will be added target)Adds the full-body content of the given element. |
| public void | addInlineDeprecatedComment(Element
the Element for which the inline deprecated comment will be added e, DeprecatedTree the inline tag to be added tag, Content the content to which the comment will be added target)Add the inline deprecated comment. |
| private void | addMethodInfo(ExecutableElement
the method to be documented method, Content the content to which the method information will be added dl)Add method information. |
| public void | addPreQualifiedClassLink(HtmlLinkInfo.
the id of the context where the link will be added context,the class to link to typeElement, Content the content to which the link will be added target)Adds a link to the given class. |
| public void | addPreQualifiedClassLink(HtmlLinkInfo.
the id of the context where the link will be added context,the class to link to typeElement, HtmlStyle optional style for the link style, Content the content to which the link with be added target)Add the class link with the package portion of the label in plain text. |
| public void | addPreQualifiedStrongClassLink(HtmlLinkInfo.
the id of the context where the link will be added context,the class to link to typeElement, Content the content to which the link with be added content)Add the class link, with only class name as the strong link and prefixing plain package name. |
| public void | addPreviewComment(Element
the Element for which the summary will be generated element, List<? extends DocTree> the first sentence tags for the doc firstSentenceTags, Content the content to which the summary will be added target)Adds the preview content. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | addSrcLink(Element
program element for which the link will be added element, Content label for the link label, Content the content to which the link will be added target)Add the link to the content. |
| public void | addSummaryComment(Element
the Element for which the summary will be generated element, Content the content to which the summary will be added target)Adds the summary content. |
| public void | addSummaryComment(Element
the Element for which the summary will be generated element, List<? extends DocTree> the first sentence tags for the doc firstSentenceTags, Content the content to which the summary will be added target)Adds the summary content. |
| public void | |
| protected void | addTagsInfo(Element
the Element for which the tags will be generated e, Content the content to which the tags will be added content)Adds the tags information. |
| private Content | |
| public abstract void | |
| public Content | Returns: a Content objectspecific element where comment resides element, List<? extends DocTree> list of text trees and inline tag trees (often alternating) tags, boolean true if text is first sentence isFirstSentence)Converts inline tags and text to content, expanding the inline tags along the way. |
| public Content | Returns: a Content objectspecific element where comment resides element, List<? extends DocTree> list of text trees and inline tag trees (often alternating) trees, boolean true if text is first sentence isFirstSentence, boolean if the comment tags are added into the summary section inSummary)Converts inline tags and text to content, expanding the inline tags along the way. |
| public Content | Returns: a Content objectspecific element where comment resides element, List<? extends DocTree> list of text trees and inline tag trees (often alternating) trees, TagletWriter.the enclosing context for the trees contextConverts inline tags and text to content, expanding the inline tags along the way. |
| private void | createSectionIdAndIndex(StartElementTree node, List<? extends DocTree> trees, Content attrs, Element element, TagletWriter.
|
| protected TableOfContents | |
| private boolean | |
| pack-priv Content | Returns: the annotation types info for the given elementan Element element, boolean if true add new line between each member value lineBreak)Returns the annotation types info for the given element. |
| pack-priv Content | Returns: the description for the given annotationsa list of annotation mirrors descList, boolean if true add new line between each member value lineBreak)Returns the description for the given annotations. |
| public List | Returns: a list of strings representing the annotations being documented.a list of annotation mirrors. descList, boolean if true, add new line between each member value. lineBreak)Return the string representations of the annotation types for the given doc. |
| protected Content | Returns: the contentthe element element)Returns the content generated from the default supported set of block tags for this element. |
| protected Content | Returns: the contentthe element element, List<Taglet> the taglets to handle the required set of tags taglets)Returns the content generated from a specified set of block tags for this element. |
| public HtmlTree | |
| public HtmlStyle | |
| public Content | Returns: the linkthe class element classElement, String the name of the member being referenced. This should
be null or empty string if no member is being referenced. refMemName, Content the label for the external link. label, String the title for the link title, HtmlStyle optional style for the link. style, boolean true if the label should be code font. code)Return a class cross-link to external class documentation. |
| public DocLink | |
| public DocLink | |
| public TypeElement | Returns: the type element documented by this writer if it is aClassWriter,
or null for any other kind of writerReturns the type element documented by this writer if it is a |
| public Content | Returns: a phrase describing the type of deprecationthe Element for which the inline deprecated comment will be added e)Returns a phrase describing the type of deprecation. |
| pack-priv static String | Returns: the descriptiona prefix for the string prefix, Element the element elem)Generates a string for use in a description meta element, based on an element and its enclosing elements |
| public Content | Returns: a link to the given memberthe id of the context where the link will be added context,the member being linked to element, CharSequence the label for the link label)Returns a link to the given member. |
| public Content | Returns: the link for the given member.the id of the context where the link will be printed. context,the typeElement that we should link to. This is
not necessarily the type containing element since we may be
inheriting comments. typeElement, Element the member being linked to. element, CharSequence the label for the link. label)Return the link for the given member. |
| public Content | Returns: the link for the given member.the id of the context where the link will be printed. context,the typeElement that we should link to. This is
not necessarily the type containing element since we may be
inheriting comments. typeElement, Element the member being linked to. element, CharSequence the label for the link. label, HtmlStyle optional style for the link. style)Return the link for the given member. |
| public Content | Returns: the link for the given member.the id of the context where the link will be printed. context,the typeElement that we should link to. This is
not necessarily the type containing element since we may be
inheriting comments. typeElement, Element the member being linked to. element, CharSequence the label for the link. label, boolean isProperty)Return the link for the given member. |
| public Content | Returns: the link for the given member.the id of the context where the link will be printed. context,the typeElement that we should link to. This is
not necessarily the type containing element since we may be
inheriting comments. typeElement, Element the member being linked to. element, Content the label for the link. label, HtmlStyle optional style to use for the link. style, boolean true if the element parameter is a JavaFX property. isProperty)Return the link for the given member. |
| public String | Returns: the nameTypeElement te)Get the enclosed name of the package |
| public String | Returns: the title for a doc-file elementthe doc-file element element)Returns the title for a doc-file element. |
| public HtmlTree | Returns: the<footer> element or null.Returns a |
| pack-priv static String | |
| protected Content | Returns: the<header> elementthe pageMode used to configure the navigation bar pageModeReturns a |
| protected Content | Returns: the<header> elementthe page mode used to configure the navigation bar pageMode,the element used to configure the navigation bar element)Returns a |
| private String | Returns: the content of the<h1> heading in the given content,
or an empty string if there is no such headingthe content c)Returns the content of the |
| private Optional | |
| private Content | |
| public Content | Returns: the link for the given class.the information about the link. linkInfo)Return the link to the given class. |
| public Content | Returns: a package namethe package to get the name for packageElement)Returns a package name. |
| pack-priv List | Returns: list of path of module/package specific stylesheetsmodule/Package element element)Returns the path of module/package specific stylesheets for the element. |
| public Content | Returns: a link to modulethe module being documented mdle, Content tag for the link label)Returns a link to module. |
| public Content | Returns: a link to modulethe module being documented mdle, Content tag for the link label, String the link fragment fragment)Returns a link to module. |
| private List | |
| protected Navigation | Returns: the basic navigation barthe page mode pageMode,the defining element for the navigation bar, or element)null if noneReturns a basic navigation bar for a kind of page and element. |
| protected Content | Returns: an "overview tree" link for a navigation barthe label for the link label)Returns an "overview tree" link for a navigation bar. |
| public Content | Returns: the package name contentthe package name packageName)Returns a package name label. |
| public Content | Returns: the link to the given packagethe package to link to packageElement, Content the label for the link label)Returns the link to the given package. |
| public Content | Returns: the link to the given packagethe package to link to packageElement, Content the label for the link label, String the link fragment fragment)Returns the link to the given package. |
| protected TableHeader | |
| public Content | Returns: the link with the package portion of the label in plain text.the class to link to. typeElement)Retrieve the class link with the package portion of the label in plain text. |
| private List | |
| public Content | Returns: a link to the given classthe id of the context where the link will be added context,the class to link to element)Returns a link to the given class. |
| private Content | |
| private List | |
| public TagletWriter | Returns: a TagletWriter that knows how to write HTML.true if we want to write the first sentence isFirstSentence)Returns a TagletWriter that knows how to write HTML. |
| public TagletWriter | Returns: a TagletWriterthe enclosing context contextReturns a TagletWriter that knows how to write HTML. |
| private String | Returns: the plain-text content of a named HTML element in a list of contentthe list of content trees, String the name og the HTML element name)Returns the plain-text content of a named HTML element in a list of content. |
| public Content | Returns: the type for the given class.the information about the link. linkInfo)Return the type parameters for the given class. |
| public String | Returns: the window title stringthe title string to construct the complete window title title)Returns the window title. |
| protected boolean | Returns: true if and only if there are tags to be includedthe field to check field)Returns whether there are any tags in a field for the Serialization Overview section to be generated. |
| pack-priv boolean | |
| private boolean | |
| private boolean | inSamePackage(Element element)
Returns true if element lives in the same package as the type or package element of this writer. |
| public Content | Returns: the outputthe single-line summary message summary, Optional<Content> the optional detail message which may contain preformatted text detail)Returns the output for an invalid tag. |
| private boolean | Returns: true if the annotation contains an array of annotation as a value.annotation type element and value pairs pairs)Check if the annotation contains an array of annotation as a value. |
| private static boolean | |
| public boolean | Returns: true if the page written by this writer should be indexed, false otherwiseReturns true if the page written by this writer should be indexed, false otherwise. |
| protected DocPath | pathString(TypeElement
TypeElement for which the path is requested. te, DocPath Name of the file(doesn't include path). name)Return the path to the class page for a typeElement. |
| protected DocPath | pathString(PackageElement
Package in which the file name is assumed to be. packageElement, DocPath File name, to which path string is. name)Return path to the given file name in the given package. |
| public void | printHtmlDocument(List<String>
Array of String keywords for META tag. Each element
of the array is assigned to a separate META tag.
Pass in null for no array metakeywords, String the content for the description META tag. description, Content the body htmltree to be included in the document body)Generates the HTML document tree and prints it out. |
| public void | printHtmlDocument(List<String>
Array of String keywords for META tag. Each element
of the array is assigned to a separate META tag.
Pass in null for no array metakeywords, String the content for the description META tag. description, List<DocPath> local stylesheets to be included in the HEAD element localStylesheets, Content the body htmltree to be included in the document body)Generates the HTML document tree and prints it out. |
| public void | printHtmlDocument(List<String>
Array of String keywords for META tag. Each element
of the array is assigned to a separate META tag.
Pass in null for no array metakeywords, String the content for the description META tag. description, Content any additional content to be included in the HEAD element extraHeadContent, List<DocPath> local stylesheets to be included in the HEAD element localStylesheets, Content the body htmltree to be included in the document body)Generates the HTML document tree and prints it out. |
| private String | Returns: the text, with all the relative links redirected to work.the Element object whose documentation is being written. element, TextTree the text being written. tt)Suppose a piece of documentation has a relative link. |
| public String | replaceDocRootDir(String htmlstr)
Replace {@docRoot} tag used in options that accept HTML text, such as -header, -footer, -top and -bottom, and when converting a relative HREF where commentTagsToString inserts a {@docRoot} where one was missing. |
| public URI | |
| private boolean | Returns: true if a relative link should be redirected.Returns true if relative links should be redirected. |
| private Content | |
| private Content | |
| protected final void |