IndexBuilder
| Modifier and Type | Field and Description |
|---|---|
| protected final List | |
| protected final List | |
| protected final IndexBuilder | |
| protected final boolean |
| Access | Constructor and Description |
|---|---|
| protected | IndexWriter(HtmlConfiguration
the current configuration configuration, DocPath the file to be generated path, List<Character> the initial characters of all index items allFirstCharacters, List<Character> the initial characters of the index items to appear on this page displayFirstCharacters)Creates a writer that can write a page containing some or all of the overall index. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addClassInfo(TypeElement
the element te, Content the content to which the class info will be added content)Adds information for the given type element. |
| protected void | addComment(Element
the element element, Content the content to which the comment will be added content)Adds a comment for an element in the index. |
| protected void | addContents(char
the first character of the names of the items ch, SortedSet<IndexItem> the items items, Content the content to which to add the items content)Adds a set of items to the page. |
| protected void | addDescription(IndexItem
the item indexItem, Content the list dl)Adds the description for an index item into a list. |
| protected void | addElementDescription(IndexItem
the item to be documented item, Content the content to which the description will be added target)Add one line summary comment for the item. |
| protected void | addHeading(char
the first character of the names of the items ch, Content the content to which to add the items content)Adds a heading containing the first character for a set of items. |
| protected void | addLinksForIndexes(List<Character>
the list of all first characters to be linked allFirstCharacters, Content the content to which the links for indexes will be added content)Add links for all the index files, based on the first character of the names of the items. |
| protected void | addMemberDesc(Element
the element member, TypeElement the enclosing type element enclosing, Content the content to which the member description will be added content)Adds a description for a member element. |
| protected void | addTagDescription(IndexItem
the item item, Content the list to which to add the description target)Adds a description for an item found in a documentation comment. |
| public void | buildPage()
Implements abstract jdk. Generates a page containing some or all of the overall index. |
| public static void | generate(HtmlConfiguration
the configuration configuration)Generates the main index of all documented elements, terms defined in some documentation comments, and summary pages. |
| private Content |
| allFirstCharacters | back to summary |
|---|---|
| protected final List<Character> allFirstCharacters | |
| displayFirstCharacters | back to summary |
|---|---|
| protected final List<Character> displayFirstCharacters | |
| mainIndex | back to summary |
|---|---|
| protected final IndexBuilder mainIndex | |
| splitIndex | back to summary |
|---|---|
| protected final boolean splitIndex | |
| IndexWriter | back to summary |
|---|---|
| protected IndexWriter(HtmlConfiguration configuration, DocPath path, List<Character> allFirstCharacters, List<Character> displayFirstCharacters) Creates a writer that can write a page containing some or all of the overall index. | |
| addClassInfo | back to summary |
|---|---|
| protected void addClassInfo(TypeElement te, Content content) Adds information for the given type element.
| |
| addComment | back to summary |
|---|---|
| protected void addComment(Element element, Content content) Adds a comment for an element in the index. If the element is deprecated and it has a @deprecated tag, use that comment; otherwise, if the containing class for this element is deprecated, then add the word "Deprecated." at the start and then print the normal comment. | |
| addContents | back to summary |
|---|---|
| protected void addContents(char ch, SortedSet<IndexItem> items, Content content) Adds a set of items to the page. | |
| addDescription | back to summary |
|---|---|
| protected void addDescription(IndexItem indexItem, Content dl) Adds the description for an index item into a list. | |
| addElementDescription | back to summary |
|---|---|
| protected void addElementDescription(IndexItem item, Content target) Add one line summary comment for the item. | |
| addHeading | back to summary |
|---|---|
| protected void addHeading(char ch, Content content) Adds a heading containing the first character for a set of items.
| |
| addLinksForIndexes | back to summary |
|---|---|
| protected void addLinksForIndexes(List<Character> allFirstCharacters, Content content) Add links for all the index files, based on the first character of the names of the items. | |
| addMemberDesc | back to summary |
|---|---|
| protected void addMemberDesc(Element member, TypeElement enclosing, Content content) Adds a description for a member element.
| |
| addTagDescription | back to summary |
|---|---|
| protected void addTagDescription(IndexItem item, Content target) Adds a description for an item found in a documentation comment. | |
| buildPage | back to summary |
|---|---|
| public void buildPage() throws DocFileIOException Implements abstract jdk. Generates a page containing some or all of the overall index.
| |
| generate | back to summary |
|---|---|
| public static void generate(HtmlConfiguration configuration) throws DocletException Generates the main index of all documented elements, terms defined in some documentation
comments, and summary pages.
If
| |
| getVerticalSeparator | back to summary |
|---|---|
| private Content getVerticalSeparator() | |