HtmlDocletWriter subclasses to build tables of contents.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | TableOfContents.
Supported hierarchy levels for entries in the table of contents. |
| Modifier and Type | Field and Description |
|---|---|
| private final ListBuilder | |
| private final HtmlDocletWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLink(HtmlId
the link fragment id, Content the link label label, TableOfContents.the hierarchical level of the link levelAdds a link to the table of contents at the given level. |
| protected Content | Returns: a content objectwhether to add a filter text input hasFilterInput)Returns a content object containing the table of contents, consisting of a header and the contents list itself. |
| listBuilder | back to summary |
|---|---|
| private final ListBuilder listBuilder | |
| writer | back to summary |
|---|---|
| private final HtmlDocletWriter writer | |
| TableOfContents | back to summary |
|---|---|
| public TableOfContents(HtmlDocletWriter writer) Constructor
| |
| addLink | back to summary |
|---|---|
| public void addLink(HtmlId id, Content label, TableOfContents. Adds a link to the table of contents at the given level.
| |
| toContent | back to summary |
|---|---|
| protected Content toContent(boolean hasFilterInput) Returns a content object containing the table of contents, consisting of a header and the contents list itself. If the contents list is empty, an empty content object is returned.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TableOfContents. | |
| public static final TableOfContents. | |
| public static final TableOfContents. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TableOfContents. | Returns: the appropriate level to represent the given HTML headingReturns the appropriate level to represent the given HTML heading. |
| public static TableOfContents. | |
| public static TableOfContents. |
| FIRST | back to summary |
|---|---|
| public static final TableOfContents. | |
| SECOND | back to summary |
|---|---|
| public static final TableOfContents. | |
| THIRD | back to summary |
|---|---|
| public static final TableOfContents. | |
| Level | back to summary |
|---|---|
| private Level() | |
| forHeading | back to summary |
|---|---|
| public static TableOfContents. Returns the appropriate level to represent the given HTML heading.
| |
| valueOf | back to summary |
|---|---|
| public static TableOfContents. | |
| values | back to summary |
|---|---|
| public static TableOfContents. | |