To ensure consistency, these constants and methods should be used
both when declaring ids (for example, HtmlTree.setId)
and creating references (for example, Links.createLink).
Most ids are mostly for internal use within the pages of a documentation
bundle. However, the ids for member declarations may be referred to
from other documentation using {@link}, and should not be
changed without due consideration for the compatibility impact.
The use of punctuating characters is inconsistent and could be improved.
Constants and methods are static where possible.
However, some methods require access to utils and are
better provided as instance methods.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private final HtmlConfiguration | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private static final String | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private final Map | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private static final String | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private static final String | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private static final String | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| pack-priv static final HtmlId | |
| private final Utils |
| Access | Constructor and Description |
|---|---|
| pack-priv | HtmlIds(HtmlConfiguration
the configuration configuration)Creates a factory for element-specific ids. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv HtmlId | Returns: the idthe class or interface element)Returns an id for a class or interface. |
| private HtmlId | Returns: the 1.4.x style anchor for the executable elementthe element to anchor to executableElement)Returns an id for the erasure of an executable element,
or |
| public HtmlId | Returns: a unique id value for the headingthe text contained by the heading headingText, Set<String> the set of heading ids already generated for the current page headingIds)Returns an id for a heading in a doc comment. |
| pack-priv static HtmlId | Returns: the idthe character character)Returns an id for a character on the A-Z Index page. |
| private HtmlId | |
| pack-priv HtmlId | Returns: the idthe class or interface element)Returns an id for the list of classes and interfaces inherited from a class or interface. |
| pack-priv HtmlId | Returns: the idthe class or interface element)Returns an id for the list of fields inherited from a class or interface. |
| pack-priv HtmlId | Returns: the idthe class or interface element)Returns an id for the list of methods inherited from a class or interface. |
| pack-priv HtmlId | Returns: the idthe class or interface element)Returns an id for the list of properties inherited from a class or interface. |
| pack-priv static HtmlId | Returns: the idthe line number lineNumber)Returns an id for a line in a source-code listing. |
| pack-priv List | Returns: a non-empty list of ids to a constructor or a methoda constructor or method executable)Returns a non-empty list of ids to a constructor or a method. |
| pack-priv HtmlId | Returns: the idthe element element)Returns an id for a field, suitable for use when the simple name will be unique within the page, such as in the page for the declaration of the enclosing class or interface. |
| pack-priv HtmlId | Returns: the idthe enclosing class or interface typeElement, VariableElement the element member)Returns an id for a field, including the context of its documented enclosing class or interface. |
| private HtmlId | |
| pack-priv static HtmlId | Returns: the idthe kind of member kindReturns an id for the member summary table of the given |
| pack-priv HtmlId | |
| pack-priv HtmlId | |
| public HtmlId | Returns: the idthe kind of page pageReturns an id for the entry on the HELP page for a kind of generated page. |
| public static HtmlId | |
| public HtmlId | Returns: the idthe element el)Returns an id for the "preview" section for an element. |
| pack-priv HtmlId | Returns: the idthe element element)Returns an id for a property, suitable for use when the simple name will be unique within the page, such as in the page for the declaration of the enclosing class or interface. |
| public HtmlId | Returns: the idthe executable element el)Returns an id for the "restricted" section for an executable element. |
| public HtmlId | Returns: a unique id for the snippetthe element in whose documentation the snippet appears e, Set<String> the set of snippet ids already generated snippetIds)Returns an id for a snippet. |
| pack-priv static HtmlId | Returns: the idthe kind of deprecated items in the section kindReturns an id for one of the kinds of section in the pages for item group summaries. |
| public static HtmlId | |
| public static HtmlId | Returns: the idthe id for the table tableId)Returns an id for the "tab panel" in a table. |
| public static HtmlId | |
| public HtmlId | Returns: the idthe name of the type parameter paramName, Element the enclosing element owner)Returns an id for text documenting a type parameter of a class or method. |
| ALL_CLASSES_TABLE | back to summary |
|---|---|
| pack-priv static final HtmlId ALL_CLASSES_TABLE | |
| ALL_MODULES_TABLE | back to summary |
|---|---|
| pack-priv static final HtmlId ALL_MODULES_TABLE | |
| ALL_PACKAGES_TABLE | back to summary |
|---|---|
| pack-priv static final HtmlId ALL_PACKAGES_TABLE | |
| ANNOTATION_TYPE_ELEMENT_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId ANNOTATION_TYPE_ELEMENT_DETAIL | |
| ANNOTATION_TYPE_OPTIONAL_ELEMENT_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId ANNOTATION_TYPE_OPTIONAL_ELEMENT_SUMMARY | |
| ANNOTATION_TYPE_REQUIRED_ELEMENT_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId ANNOTATION_TYPE_REQUIRED_ELEMENT_SUMMARY | |
| CLASS_DESCRIPTION | back to summary |
|---|---|
| pack-priv static final HtmlId CLASS_DESCRIPTION | |
| CLASS_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId CLASS_SUMMARY | |
| configuration | back to summary |
|---|---|
| private final HtmlConfiguration configuration | |
| CONSTRUCTOR_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId CONSTRUCTOR_DETAIL | |
| CONSTRUCTOR_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId CONSTRUCTOR_SUMMARY | |
| ENUM_CONSTANT_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId ENUM_CONSTANT_DETAIL | |
| ENUM_CONSTANT_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId ENUM_CONSTANT_SUMMARY | |
| EXTERNAL_SPECS | back to summary |
|---|---|
| pack-priv static final HtmlId EXTERNAL_SPECS | |
| FIELD_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId FIELD_DETAIL | |
| FIELD_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId FIELD_SUMMARY | |
| FIELDS_INHERITANCE | back to summary |
|---|---|
| private static final String FIELDS_INHERITANCE | |
| FOR_REMOVAL | back to summary |
|---|---|
| pack-priv static final HtmlId FOR_REMOVAL | |
| HELP_KEYBOARD_NAVIGATION | back to summary |
|---|---|
| pack-priv static final HtmlId HELP_KEYBOARD_NAVIGATION | |
| HELP_NAVIGATION | back to summary |
|---|---|
| pack-priv static final HtmlId HELP_NAVIGATION | |
| HELP_PAGES | back to summary |
|---|---|
| pack-priv static final HtmlId HELP_PAGES | |
| HELP_RELEASES | back to summary |
|---|---|
| pack-priv static final HtmlId HELP_RELEASES | |
| ids | back to summary |
|---|---|
| private final Map<ExecutableElement, List<HtmlId>> ids | |
| METHOD_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId METHOD_DETAIL | |
| METHOD_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId METHOD_SUMMARY | |
| METHOD_SUMMARY_TABLE | back to summary |
|---|---|
| pack-priv static final HtmlId METHOD_SUMMARY_TABLE | |
| METHODS_INHERITANCE | back to summary |
|---|---|
| private static final String METHODS_INHERITANCE | |
| MODULE_DESCRIPTION | back to summary |
|---|---|
| pack-priv static final HtmlId MODULE_DESCRIPTION | |
| MODULES | back to summary |
|---|---|
| pack-priv static final HtmlId MODULES | |
| NAVBAR_TOGGLE_BUTTON | back to summary |
|---|---|
| pack-priv static final HtmlId NAVBAR_TOGGLE_BUTTON | |
| NAVBAR_TOP | back to summary |
|---|---|
| pack-priv static final HtmlId NAVBAR_TOP | |
| NAVBAR_TOP_FIRSTROW | back to summary |
|---|---|
| pack-priv static final HtmlId NAVBAR_TOP_FIRSTROW | |
| NESTED_CLASS_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId NESTED_CLASS_SUMMARY | |
| NESTED_CLASSES_INHERITANCE | back to summary |
|---|---|
| private static final String NESTED_CLASSES_INHERITANCE | |
| PACKAGE_DESCRIPTION | back to summary |
|---|---|
| pack-priv static final HtmlId PACKAGE_DESCRIPTION | |
| PACKAGE_SUMMARY_TABLE | back to summary |
|---|---|
| pack-priv static final HtmlId PACKAGE_SUMMARY_TABLE | |
| PACKAGES | back to summary |
|---|---|
| pack-priv static final HtmlId PACKAGES | |
| PROPERTIES_INHERITANCE | back to summary |
|---|---|
| private static final String PROPERTIES_INHERITANCE | |
| PROPERTY_DETAIL | back to summary |
|---|---|
| pack-priv static final HtmlId PROPERTY_DETAIL | |
| PROPERTY_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId PROPERTY_SUMMARY | |
| RELATED_PACKAGE_SUMMARY | back to summary |
|---|---|
| pack-priv static final HtmlId RELATED_PACKAGE_SUMMARY | |
| RESET_SEARCH | back to summary |
|---|---|
| pack-priv static final HtmlId RESET_SEARCH | |
| SEARCH_INPUT | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_INPUT | |
| SEARCH_INPUT_CONTAINER | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_INPUT_CONTAINER | |
| SEARCH_MODULES | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_MODULES | |
| SEARCH_PAGE_LINK | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_PAGE_LINK | |
| SEARCH_RESULT_CONTAINER | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_RESULT_CONTAINER | |
| SEARCH_RESULT_SECTION | back to summary |
|---|---|
| pack-priv static final HtmlId SEARCH_RESULT_SECTION | |
| SERVICES | back to summary |
|---|---|
| pack-priv static final HtmlId SERVICES | |
| SKIP_NAVBAR_TOP | back to summary |
|---|---|
| pack-priv static final HtmlId SKIP_NAVBAR_TOP | |
| THEME_BUTTON | back to summary |
|---|---|
| pack-priv static final HtmlId THEME_BUTTON | |
| THEME_DARK | back to summary |
|---|---|
| pack-priv static final HtmlId THEME_DARK | |
| THEME_LIGHT | back to summary |
|---|---|
| pack-priv static final HtmlId THEME_LIGHT | |
| THEME_OS | back to summary |
|---|---|
| pack-priv static final HtmlId THEME_OS | |
| THEME_PANEL | back to summary |
|---|---|
| pack-priv static final HtmlId THEME_PANEL | |
| TOC_ORDER_TOGGLE | back to summary |
|---|---|
| pack-priv static final HtmlId TOC_ORDER_TOGGLE | |
| TOP_OF_PAGE | back to summary |
|---|---|
| pack-priv static final HtmlId TOP_OF_PAGE | |
| UNNAMED_PACKAGE_ANCHOR | back to summary |
|---|---|
| pack-priv static final HtmlId UNNAMED_PACKAGE_ANCHOR | |
| utils | back to summary |
|---|---|
| private final Utils utils | |
| HtmlIds | back to summary |
|---|---|
| pack-priv HtmlIds(HtmlConfiguration configuration) Creates a factory for element-specific ids.
| |
| forClass | back to summary |
|---|---|
| pack-priv HtmlId forClass(TypeElement element) Returns an id for a class or interface.
| |
| forErasure | back to summary |
|---|---|
| private HtmlId forErasure(ExecutableElement executableElement) Returns an id for the erasure of an executable element,
or Note We won't need this method anymore after we fix
| |
| forHeading | back to summary |
|---|---|
| public HtmlId forHeading(CharSequence headingText, Set<String> headingIds) Returns an id for a heading in a doc comment. The id value is derived from the contents of the heading with additional checks to make it unique within its containing page.
| |
| forIndexChar | back to summary |
|---|---|
| pack-priv static HtmlId forIndexChar(char character) Returns an id for a character on the A-Z Index page.
| |
| forInherited | back to summary |
|---|---|
| private HtmlId forInherited(String prefix, TypeElement element) | |
| forInheritedClasses | back to summary |
|---|---|
| pack-priv HtmlId forInheritedClasses(TypeElement element) Returns an id for the list of classes and interfaces inherited from a class or interface. Note the use of
| |
| forInheritedFields | back to summary |
|---|---|
| pack-priv HtmlId forInheritedFields(TypeElement element) Returns an id for the list of fields inherited from a class or interface.
| |
| forInheritedMethods | back to summary |
|---|---|
| pack-priv HtmlId forInheritedMethods(TypeElement element) Returns an id for the list of methods inherited from a class or interface.
| |
| forInheritedProperties | back to summary |
|---|---|
| pack-priv HtmlId forInheritedProperties(TypeElement element) Returns an id for the list of properties inherited from a class or interface.
| |
| forLine | back to summary |
|---|---|
| pack-priv static HtmlId forLine(int lineNumber) Returns an id for a line in a source-code listing.
| |
| forMember | back to summary |
|---|---|
| pack-priv List Returns a non-empty list of ids to a constructor or a method. The ids from the returned list are alternative: the given constructor or method can be equally referred to by any of those ids.
| |
| forMember | back to summary |
|---|---|
| pack-priv HtmlId forMember(VariableElement element) Returns an id for a field, suitable for use when the simple name will be unique within the page, such as in the page for the declaration of the enclosing class or interface. Warning the name may not be unique if a property with the same name is also being documented in the same class.
| |
| forMember | back to summary |
|---|---|
| pack-priv HtmlId forMember(TypeElement typeElement, VariableElement member) Returns an id for a field, including the context of its documented enclosing class or interface.
| |
| forMember0 | back to summary |
|---|---|
| private HtmlId forMember0(ExecutableElement element) | |
| forMemberSummary | back to summary |
|---|---|
| pack-priv static HtmlId forMemberSummary(VisibleMemberTable. Returns an id for the member summary table of the given
| |
| forPackage | back to summary |
|---|---|
| pack-priv HtmlId forPackage(PackageElement element) Returns an id for a package.
| |
| forPackageName | back to summary |
|---|---|
| pack-priv HtmlId forPackageName(String pkgName) Returns an id for a package name. | |
| forPage | back to summary |
|---|---|
| public HtmlId forPage(Navigation. Returns an id for the entry on the HELP page for a kind of generated page.
| |
| forParam | back to summary |
|---|---|
| public static HtmlId forParam(String paramName) Returns an id for a parameter, such as a component of a record. Warning this may not be unique on the page if used when there are other like-named parameters. | |
| forPreviewSection | back to summary |
|---|---|
| public HtmlId forPreviewSection(Element el) Returns an id for the "preview" section for an element. | |
| forProperty | back to summary |
|---|---|
| pack-priv HtmlId forProperty(ExecutableElement element) Returns an id for a property, suitable for use when the simple name will be unique within the page, such as in the page for the declaration of the enclosing class or interface. Warning the name may not be unique if a field with the same name is also being documented in the same class.
| |
| forRestrictedSection | back to summary |
|---|---|
| public HtmlId forRestrictedSection(ExecutableElement el) Returns an id for the "restricted" section for an executable element.
| |
| forSnippet | back to summary |
|---|---|
| public HtmlId forSnippet(Element e, Set<String> snippetIds) Returns an id for a snippet. | |
| forSummaryKind | back to summary |
|---|---|
| pack-priv static HtmlId forSummaryKind(SummaryAPIListBuilder. Returns an id for one of the kinds of section in the pages for item group summaries. Note while the use of simple names (that are not keywords) may seem undesirable, they cannot conflict with the unqualified names of fields and properties, which should not also appear on the same page.
| |
| forTab | back to summary |
|---|---|
| public static HtmlId forTab(HtmlId tableId, int tabIndex) Returns an id for a "tab" in a table. | |
| forTabPanel | back to summary |
|---|---|
| public static HtmlId forTabPanel(HtmlId tableId) Returns an id for the "tab panel" in a table. | |
| forText | back to summary |
|---|---|
| public static HtmlId forText(String text, Map<String, Integer> counts) Returns an id for a fragment of text, such as in an | |
| forTypeParam | back to summary |
|---|---|
| public HtmlId forTypeParam(String paramName, Element owner) Returns an id for text documenting a type parameter of a class or method. | |