| Modifier and Type | Class and Description |
|---|---|
| public static enum | HtmlLinkInfo.
Enumeration of different kinds of links. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final HtmlConfiguration | |
| private HtmlLinkInfo. | |
| private ExecutableElement | |
| private String | |
| private boolean | |
| private Content | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private HtmlStyle | |
| private Element | |
| private String | |
| private TypeMirror | |
| private TypeElement |
| Access | Constructor and Description |
|---|---|
| public | HtmlLinkInfo(HtmlConfiguration
the configuration data for the doclet configuration, HtmlLinkInfo.the context of the link. context,the member to link to. ee)Construct a LinkInfo object. |
| public | HtmlLinkInfo(HtmlConfiguration
the configuration data for the doclet configuration, HtmlLinkInfo.the context of the link. context,the class to link to. typeElement)Construct a LinkInfo object. |
| public | HtmlLinkInfo(HtmlConfiguration
the configuration data for the doclet configuration, HtmlLinkInfo.the context of the link. context,the class to link to. type)Construct a LinkInfo object. |
| Modifier and Type | Method and Description |
|---|---|
| public HtmlLinkInfo | Returns: this objectthe new value addLineBreakOpportunities)Sets the addLineBreakOpportunitiesInTypeParameters flag for this link. |
| public boolean | Returns: true if line break opportunities should be added to type parametersReturns true if line break opportunities should be added to type parameters. |
| public HtmlLinkInfo | Returns: the new link infothe type mirror type)Creates a copy of this HtmlLinkInfo instance with a different TypeMirror. |
| public HtmlLinkInfo | |
| public Content | Returns: the label for this class link.the current configuration of the doclet. configuration)Return the label for this class link. |
| public HtmlLinkInfo. | |
| public ExecutableElement | |
| public String | |
| public Content | |
| public HtmlStyle | |
| public Element | Returns: the member this link points to (if any)Returns the member this link points to (if any). |
| public String | |
| public TypeMirror | |
| public TypeElement | |
| public boolean | Returns: true if this link is linkable and false if we can't link to the desired place.Return true if this link is linkable and false if we can't link to the desired place. |
| public boolean | Returns: true if the link target is the top level page or one of its summary sectionsReturns |
| public boolean | Returns: true iff the preview flags should be skipped for this linkReturns true iff the preview flags should be skipped for this link. |
| public boolean | Returns: true if this is a link to a vararg memberReturns true if this is a link to a vararg member. |
| public HtmlLinkInfo | Returns: this objectplain-text label for the link label)Set the label for the link. |
| public HtmlLinkInfo | |
| public HtmlLinkInfo | Returns: this objectthe new value linkToSelf)Set the linkToSelf flag for this link. |
| public boolean | Returns: true if we should generate links to the current pageReturns true if we should generate links to the current page. |
| public boolean | Returns: true if type parameters should be rendered as linksReturns true if type parameters should be rendered as links. |
| protected Content | |
| private void | setContext(HtmlLinkInfo.
the context id to set. cThis method sets the link attributes to the appropriate values based on the context. |
| public void | |
| public void | |
| public boolean | Returns: true if we should print the type bounds for the type parameterReturns true if we should print the type bounds for the type parameter. |
| public HtmlLinkInfo | Returns: this objectthe new value showTypeParameterAnnotations)Set the showTypeParameterAnnotations flag for this link. |
| public boolean | Returns: true if annotations on type parameters should be shownReturns true if annotations on type parameters should be shown. |
| public boolean | Returns: true if type parameter links should be includedReturns true if links to declared types should include type parameters. |
| public HtmlLinkInfo | Returns: this objectthe new value skipPreview)Set whether or not the preview flags should be skipped for this link. |
| public HtmlLinkInfo | |
| public HtmlLinkInfo | Returns: this objectthe new member value el)Set the member this link points to (if any). |
| public HtmlLinkInfo | |
| public String | |
| public HtmlLinkInfo | Returns: this objectthe new value varargs)Set whether or not this is a link to a varargs parameter. |
| addLineBreakOpportunitiesInTypeParameters | back to summary |
|---|---|
| private boolean addLineBreakOpportunitiesInTypeParameters | |
| configuration | back to summary |
|---|---|
| private final HtmlConfiguration configuration | |
| context | back to summary |
|---|---|
| private HtmlLinkInfo. | |
| executableElement | back to summary |
|---|---|
| private ExecutableElement executableElement | |
| fragment | back to summary |
|---|---|
| private String fragment | |
| isVarArg | back to summary |
|---|---|
| private boolean isVarArg | |
| label | back to summary |
|---|---|
| private Content label | |
| linkToSelf | back to summary |
|---|---|
| private boolean linkToSelf | |
| linkTypeParameters | back to summary |
|---|---|
| private boolean linkTypeParameters | |
| showTypeBounds | back to summary |
|---|---|
| private boolean showTypeBounds | |
| showTypeParameterAnnotations | back to summary |
|---|---|
| private boolean showTypeParameterAnnotations | |
| skipPreview | back to summary |
|---|---|
| private boolean skipPreview | |
| style | back to summary |
|---|---|
| private HtmlStyle style | |
| targetMember | back to summary |
|---|---|
| private Element targetMember | |
| title | back to summary |
|---|---|
| private String title | |
| type | back to summary |
|---|---|
| private TypeMirror type | |
| typeElement | back to summary |
|---|---|
| private TypeElement typeElement | |
| HtmlLinkInfo | back to summary |
|---|---|
| public HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo. Construct a LinkInfo object.
| |
| HtmlLinkInfo | back to summary |
|---|---|
| public HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo. Construct a LinkInfo object.
| |
| HtmlLinkInfo | back to summary |
|---|---|
| public HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo. Construct a LinkInfo object.
| |
| addLineBreakOpportunitiesInTypeParameters | back to summary |
|---|---|
| public HtmlLinkInfo addLineBreakOpportunitiesInTypeParameters(boolean addLineBreakOpportunities) Sets the addLineBreakOpportunitiesInTypeParameters flag for this link.
| |
| addLineBreakOpportunitiesInTypeParameters | back to summary |
|---|---|
| public boolean addLineBreakOpportunitiesInTypeParameters() Returns true if line break opportunities should be added to type parameters.
| |
| forType | back to summary |
|---|---|
| public HtmlLinkInfo forType(TypeMirror type) Creates a copy of this HtmlLinkInfo instance with a different TypeMirror. This is used for contained types such as type parameters or array components.
| |
| fragment | back to summary |
|---|---|
| public HtmlLinkInfo fragment(String fragment) Set the fragment specifier for the link.
| |
| getClassLinkLabel | back to summary |
|---|---|
| public Content getClassLinkLabel(BaseConfiguration configuration) Return the label for this class link.
| |
| getContext | back to summary |
|---|---|
| public HtmlLinkInfo. Returns the link context.
| |
| getExecutableElement | back to summary |
|---|---|
| public ExecutableElement getExecutableElement() The executable element we want to link to. Null if we are not linking to an executable element. | |
| getFragment | back to summary |
|---|---|
| public String getFragment() Returns the fragment of the link.
| |
| getLabel | back to summary |
|---|---|
| public Content getLabel() Returns the label for the link.
| |
| getStyle | back to summary |
|---|---|
| public HtmlStyle getStyle() Returns the optional style for the link.
| |
| getTargetMember | back to summary |
|---|---|
| public Element getTargetMember() Returns the member this link points to (if any).
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Returns the value of the title attribute.
| |
| getType | back to summary |
|---|---|
| public TypeMirror getType() The Type we want to link to. Null if we are not linking to a type. | |
| getTypeElement | back to summary |
|---|---|
| public TypeElement getTypeElement() The class we want to link to. Null if we are not linking to a class. | |
| isLinkable | back to summary |
|---|---|
| public boolean isLinkable() Return true if this link is linkable and false if we can't link to the desired place.
| |
| isPageOrSummaryLink | back to summary |
|---|---|
| public boolean isPageOrSummaryLink() Returns
| |
| isSkipPreview | back to summary |
|---|---|
| public boolean isSkipPreview() Returns true iff the preview flags should be skipped for this link.
| |
| isVarArg | back to summary |
|---|---|
| public boolean isVarArg() Returns true if this is a link to a vararg member.
| |
| label | back to summary |
|---|---|
| public HtmlLinkInfo label(CharSequence label) Set the label for the link.
| |
| label | back to summary |
|---|---|
| public HtmlLinkInfo label(Content label) Set the label for the link.
| |
| linkToSelf | back to summary |
|---|---|
| public HtmlLinkInfo linkToSelf(boolean linkToSelf) Set the linkToSelf flag for this link.
| |
| linkToSelf | back to summary |
|---|---|
| public boolean linkToSelf() Returns true if we should generate links to the current page.
| |
| linkTypeParameters | back to summary |
|---|---|
| public boolean linkTypeParameters() Returns true if type parameters should be rendered as links.
| |
| newContent | back to summary |
|---|---|
| protected Content newContent() Returns a new instance of a content object.
| |
| setContext | back to summary |
|---|---|
| private void setContext(HtmlLinkInfo. This method sets the link attributes to the appropriate values based on the context.
| |
| setTypeElement | back to summary |
|---|---|
| public void setTypeElement(TypeElement typeElement) Sets the typeElement
| |
| showTypeBounds | back to summary |
|---|---|
| public void showTypeBounds(boolean showTypeBounds) Set the showTypeBounds flag for this link
| |
| showTypeBounds | back to summary |
|---|---|
| public boolean showTypeBounds() Returns true if we should print the type bounds for the type parameter.
| |
| showTypeParameterAnnotations | back to summary |
|---|---|
| public HtmlLinkInfo showTypeParameterAnnotations(boolean showTypeParameterAnnotations) Set the showTypeParameterAnnotations flag for this link.
| |
| showTypeParameterAnnotations | back to summary |
|---|---|
| public boolean showTypeParameterAnnotations() Returns true if annotations on type parameters should be shown.
| |
| showTypeParameters | back to summary |
|---|---|
| public boolean showTypeParameters() Returns true if links to declared types should include type parameters.
| |
| skipPreview | back to summary |
|---|---|
| public HtmlLinkInfo skipPreview(boolean skipPreview) Set whether or not the preview flags should be skipped for this link.
| |
| style | back to summary |
|---|---|
| public HtmlLinkInfo style(HtmlStyle style) Sets the style to be used for the link.
| |
| targetMember | back to summary |
|---|---|
| public HtmlLinkInfo targetMember(Element el) Set the member this link points to (if any).
| |
| title | back to summary |
|---|---|
| public HtmlLinkInfo title(String title) Sets the title attribute for the link.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| varargs | back to summary |
|---|---|
| public HtmlLinkInfo varargs(boolean varargs) Set whether or not this is a link to a varargs parameter.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final HtmlLinkInfo. | LINK_TYPE_PARAMS
Link with optional type parameters but no bounds rendered as separate links. |
| public static final HtmlLinkInfo. | LINK_TYPE_PARAMS_AND_BOUNDS
Link with optional type parameters and bounds rendered as separate links. |
| public static final HtmlLinkInfo. | PLAIN
Link with just the element name as label. |
| public static final HtmlLinkInfo. | SHOW_PREVIEW
Link with additional preview flag if appropriate. |
| public static final HtmlLinkInfo. | SHOW_TYPE_PARAMS
Link with optional type parameters appended as plain text. |
| public static final HtmlLinkInfo. | SHOW_TYPE_PARAMS_AND_BOUNDS
Link with optional type parameters and bounds appended as plain text. |
| public static final HtmlLinkInfo. | SHOW_TYPE_PARAMS_IN_LABEL
Link with optional type parameters included in the link label. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HtmlLinkInfo. | |
| public static HtmlLinkInfo. |
| LINK_TYPE_PARAMS | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with optional type parameters but no bounds rendered as separate links. | |
| LINK_TYPE_PARAMS_AND_BOUNDS | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with optional type parameters and bounds rendered as separate links. | |
| PLAIN | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with just the element name as label. | |
| SHOW_PREVIEW | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with additional preview flag if appropriate. | |
| SHOW_TYPE_PARAMS | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with optional type parameters appended as plain text. | |
| SHOW_TYPE_PARAMS_AND_BOUNDS | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with optional type parameters and bounds appended as plain text. | |
| SHOW_TYPE_PARAMS_IN_LABEL | back to summary |
|---|---|
| public static final HtmlLinkInfo. Link with optional type parameters included in the link label. | |
| Kind | back to summary |
|---|---|
| private Kind() | |
| valueOf | back to summary |
|---|---|
| public static HtmlLinkInfo. | |
| values | back to summary |
|---|---|
| public static HtmlLinkInfo. | |