Klasse HtmlLinkInfo
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.formats.html.HtmlLinkInfo
HTML-specific information about a link.
- 
Verschachtelte Klassen - ÜbersichtVerschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumEnumeration of different kinds of links.
- 
KonstruktorübersichtKonstruktorenKonstruktorBeschreibungHtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo.Kind context, ExecutableElement ee) Construct a LinkInfo object.HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo.Kind context, TypeElement typeElement) Construct a LinkInfo object.HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo.Kind context, TypeMirror type) Construct a LinkInfo object.
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungbooleanGibt true if line break opportunities should be added to type parameters zurück.addLineBreakOpportunitiesInTypeParameters(boolean addLineBreakOpportunities) Sets the addLineBreakOpportunitiesInTypeParameters flag for this link.booleanGibt true if type parameters should be separated by line breaks zurück.addLineBreaksInTypeParameters(boolean addLineBreaksInTypeParameters) Sets the addLineBreaksInTypeParameters flag for this link.forType(TypeMirror type) Creates a copy of this HtmlLinkInfo instance with a different TypeMirror.Set the fragment specifier for the link.getClassLinkLabel(BaseConfiguration configuration) Return the label for this class link.Gibt the link context zurück.The executable element we want to link to.Gibt the fragment of the link zurück.getLabel()Gibt the label for the link zurück.getStyle()Gibt the optional style for the link zurück.Gibt the member this link points to (if any) zurück.getType()The Type we want to link to.The class we want to link to.booleanReturn true if this link is linkable and false if we can’t link to the desired place.booleanGibt true iff the preview flags should be skipped for this link zurück.booleanisVarArg()Gibt true if this is a link to a vararg member zurück.label(CharSequence label) Set the label for the link.Set the label for the link.booleanGibt true if we should generate links to the current page zurück.linkToSelf(boolean linkToSelf) Set the linkToSelf flag for this link.booleanGibt true if type parameters should be rendered as links zurück.protected ContentGibt a new instance of a content object zurück.voidsetTypeElement(TypeElement typeElement) Sets the typeElementbooleanGibt true if we should print the type bounds for the type parameter zurück.voidshowTypeBounds(boolean showTypeBounds) Set the showTypeBounds flag for this linkbooleanGibt true if annotations on type parameters should be shown zurück.showTypeParameterAnnotations(boolean showTypeParameterAnnotations) Set the showTypeParameterAnnotations flag for this link.booleanReturns true if links to declared types should include type parameters.skipPreview(boolean skipPreview) Set whether or not the preview flags should be skipped for this link.Sets the style to be used for the link.targetMember(Element el) Set the member this link points to (if any).toString()varargs(boolean varargs) Set whether or not this is a link to a varargs parameter.
- 
Konstruktordetails- 
HtmlLinkInfopublic HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo.Kind context, ExecutableElement ee) Construct a LinkInfo object.- Parameter:
- configuration- the configuration data for the doclet
- context- the context of the link.
- ee- the member to link to.
 
- 
HtmlLinkInfopublic HtmlLinkInfo(HtmlConfiguration configuration, HtmlLinkInfo.Kind context, TypeElement typeElement) Construct a LinkInfo object.- Parameter:
- configuration- the configuration data for the doclet
- context- the context of the link.
- typeElement- the class to link to.
 
- 
HtmlLinkInfoConstruct a LinkInfo object.- Parameter:
- configuration- the configuration data for the doclet
- context- the context of the link.
- type- the class to link to.
 
 
- 
- 
Methodendetails- 
forTypeCreates a copy of this HtmlLinkInfo instance with a different TypeMirror.This is used for contained types such as type parameters or array components. - Parameter:
- type- the type mirror
- Gibt zurück:
- the new link info
 
- 
setTypeElementSets the typeElement- Parameter:
- typeElement- the new typeElement object
 
- 
getTypeElementThe class we want to link to.Null if we are not linking to a class. 
- 
getExecutableElementThe executable element we want to link to.Null if we are not linking to an executable element. 
- 
getTypeThe Type we want to link to.Null if we are not linking to a type. 
- 
labelSet the label for the link.- Parameter:
- label- plain-text label for the link
- Gibt zurück:
- this object
 
- 
labelSet the label for the link.- Parameter:
- label- the new value
- Gibt zurück:
- this object
 
- 
getLabelGibt the label for the link zurück.- Gibt zurück:
- the label for the link
 
- 
styleSets the style to be used for the link.- Parameter:
- style- the new style value
- Gibt zurück:
- this object
 
- 
getStyleGibt the optional style for the link zurück.- Gibt zurück:
- the optional style for the link
 
- 
varargsSet whether or not this is a link to a varargs parameter.- Parameter:
- varargs- the new value
- Gibt zurück:
- this object
 
- 
isVarArgGibt true if this is a link to a vararg member zurück.- Gibt zurück:
- true if this is a link to a vararg member
 
- 
fragmentSet the fragment specifier for the link.- Parameter:
- fragment- the new fragment value
- Gibt zurück:
- this object
 
- 
getFragmentGibt the fragment of the link zurück.- Gibt zurück:
- the fragment of the link
 
- 
addLineBreaksInTypeParametersSets the addLineBreaksInTypeParameters flag for this link.- Parameter:
- addLineBreaksInTypeParameters- the new value
- Gibt zurück:
- this object
 
- 
addLineBreaksInTypeParametersGibt true if type parameters should be separated by line breaks zurück.- Gibt zurück:
- true if type parameters should be separated by line breaks
 
- 
addLineBreakOpportunitiesInTypeParametersSets the addLineBreakOpportunitiesInTypeParameters flag for this link.- Parameter:
- addLineBreakOpportunities- the new value
- Gibt zurück:
- this object
 
- 
addLineBreakOpportunitiesInTypeParametersGibt true if line break opportunities should be added to type parameters zurück.- Gibt zurück:
- true if line break opportunities should be added to type parameters
 
- 
linkToSelfSet the linkToSelf flag for this link.- Parameter:
- linkToSelf- the new value
- Gibt zurück:
- this object
 
- 
linkToSelfGibt true if we should generate links to the current page zurück.- Gibt zurück:
- true if we should generate links to the current page
 
- 
linkTypeParametersGibt true if type parameters should be rendered as links zurück.- Gibt zurück:
- true if type parameters should be rendered as links
 
- 
showTypeBoundsSet the showTypeBounds flag for this link- Parameter:
- showTypeBounds- the new value
 
- 
showTypeBoundsGibt true if we should print the type bounds for the type parameter zurück.- Gibt zurück:
- true if we should print the type bounds for the type parameter
 
- 
showTypeParameterAnnotationsSet the showTypeParameterAnnotations flag for this link.- Parameter:
- showTypeParameterAnnotations- the new value
- Gibt zurück:
- this object
 
- 
showTypeParameterAnnotationsGibt true if annotations on type parameters should be shown zurück.- Gibt zurück:
- true if annotations on type parameters should be shown
 
- 
targetMemberSet the member this link points to (if any).- Parameter:
- el- the new member value
- Gibt zurück:
- this object
 
- 
getTargetMemberGibt the member this link points to (if any) zurück.- Gibt zurück:
- the member this link points to (if any)
 
- 
skipPreviewSet whether or not the preview flags should be skipped for this link.- Parameter:
- skipPreview- the new value
- Gibt zurück:
- this object
 
- 
isSkipPreviewGibt true iff the preview flags should be skipped for this link zurück.- Gibt zurück:
- true iff the preview flags should be skipped for this link
 
- 
getContextGibt the link context zurück.- Gibt zurück:
- the link context
 
- 
isLinkableReturn true if this link is linkable and false if we can’t link to the desired place.- Gibt zurück:
- true if this link is linkable and false if we can’t link to the desired place.
 
- 
showTypeParametersReturns true if links to declared types should include type parameters.- Gibt zurück:
- true if type parameter links should be included
 
- 
getClassLinkLabelReturn the label for this class link.- Parameter:
- configuration- the current configuration of the doclet.
- Gibt zurück:
- the label for this class link.
 
- 
newContentGibt a new instance of a content object zurück.- Gibt zurück:
- a new instance of a content object
 
- 
toString
 
-