| Modifier and Type | Field and Description |
|---|---|
| private final DocPaths | |
| private final HtmlDocletWriter | |
| private final Utils |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | addSuperscript(Content
the content to add to content, Set<Utils.the flags flags,file name to link to, or null if no local link target fileName, TypeElement external type to link to, or null if no external link typeElement, Element preview link target element previewTarget, ExecutableElement restricted link target element restrictedTarget)Adds PREVIEW and RESTRICTED superscript labels. |
| private HtmlLinkInfo | |
| protected Content | Returns: the link for the given class.the information about the link to construct linkInfo)Returns a link to the given class. |
| private String | Returns: the tool tip for the appropriate class.the class to get the tool tip for. typeElement, boolean true if link target is a type parameter isTypeParamLink)Given a class, return the appropriate tool tip. |
| public Content | Returns: the link.the information about the link. linkInfo)Constructs a link from the given link information. |
| private DocPath | getPath(HtmlLinkInfo
the information about the link. linkInfo)Return path to the given file name in the given package. |
| private Content | Returns: superscript contentlocal file name to link to, or null if no local link target fileName, TypeElement external type to link to, or null if no external link typeElement, HtmlId the id fragment to link to id, Content the label content label)Returns PREVIEW or RESTRICTED superscript as either local or external link or as plain text. |
| public Content | Returns: the links to the type annotationsthe information about the link to construct linkInfo)Returns links to the type annotations. |
| protected Content | Returns: the links to the type parametersthe information about the link to construct linkInfo)Returns links to the type parameters. |
| protected Content |
| docPaths | back to summary |
|---|---|
| private final DocPaths docPaths | |
| m_writer | back to summary |
|---|---|
| private final HtmlDocletWriter m_writer | |
| utils | back to summary |
|---|---|
| private final Utils utils | |
| HtmlLinkFactory | back to summary |
|---|---|
| public HtmlLinkFactory(HtmlDocletWriter writer) Constructs a new link factory.
| |
| addSuperscript | back to summary |
|---|---|
| private void addSuperscript(Content content, Set<Utils. Adds PREVIEW and RESTRICTED superscript labels. Depending on the parameter values, labels will be formatted as local or external links or plain text.
| |
| getBoundsLinkInfo | back to summary |
|---|---|
| private HtmlLinkInfo getBoundsLinkInfo(HtmlLinkInfo linkInfo, TypeMirror bound) | |
| getClassLink | back to summary |
|---|---|
| protected Content getClassLink(HtmlLinkInfo linkInfo) Returns a link to the given class.
| |
| getClassToolTip | back to summary |
|---|---|
| private String getClassToolTip(TypeElement typeElement, boolean isTypeParamLink) Given a class, return the appropriate tool tip.
| |
| getLink | back to summary |
|---|---|
| public Content getLink(HtmlLinkInfo linkInfo) Constructs a link from the given link information.
| |
| getPath | back to summary |
|---|---|
| private DocPath getPath(HtmlLinkInfo linkInfo) Return path to the given file name in the given package. So if the name passed is "Object.html" and the name of the package is "java.lang", and if the relative path is "../.." then returned string will be "../../java/lang/Object.html"
| |
| getSuperscript | back to summary |
|---|---|
| private Content getSuperscript(DocPath fileName, TypeElement typeElement, HtmlId id, Content label) Returns PREVIEW or RESTRICTED superscript as either local or external link or as plain text.
| |
| getTypeAnnotationLinks | back to summary |
|---|---|
| public Content getTypeAnnotationLinks(HtmlLinkInfo linkInfo) Returns links to the type annotations.
| |
| getTypeParameterLinks | back to summary |
|---|---|
| protected Content getTypeParameterLinks(HtmlLinkInfo linkInfo) Returns links to the type parameters.
| |
| newContent | back to summary |
|---|---|
| protected Content newContent() Returns a new instance of a content object.
| |