Class LinkFactory
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.links.LinkFactory
-
- Direct Known Subclasses:
LinkFactoryImpl
@Deprecated public abstract class LinkFactory extends Object
Deprecated.A factory that constructs links from given link information.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.5
- Author:
- Jamie Ho
-
-
Constructor Summary
Constructors Constructor Description LinkFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract Content
getClassLink(LinkInfo linkInfo)
Deprecated.Return the link to the given class.Content
getLink(LinkInfo linkInfo)
Deprecated.Constructs a link from the given link information.protected abstract Content
getTypeAnnotationLink(LinkInfo linkInfo, AnnotationDesc annotation)
Deprecated.Content
getTypeAnnotationLinks(LinkInfo linkInfo)
Deprecated.protected abstract Content
getTypeParameterLink(LinkInfo linkInfo, Type typeParam)
Deprecated.Return the link to the given type parameter.Content
getTypeParameterLinks(LinkInfo linkInfo)
Deprecated.Return the links to the type parameters.Content
getTypeParameterLinks(LinkInfo linkInfo, boolean isClassLabel)
Deprecated.Return the links to the type parameters.protected abstract Content
newContent()
Deprecated.Return an empty instance of a content object.
-
-
-
Method Detail
-
newContent
protected abstract Content newContent()
Deprecated.Return an empty instance of a content object.- Returns:
- an empty instance of a content object.
-
getLink
public Content getLink(LinkInfo linkInfo)
Deprecated.Constructs a link from the given link information.- Parameters:
linkInfo
- the information about the link.- Returns:
- the output of the link.
-
getClassLink
protected abstract Content getClassLink(LinkInfo linkInfo)
Deprecated.Return the link to the given class.- Parameters:
linkInfo
- the information about the link to construct.- Returns:
- the link for the given class.
-
getTypeParameterLink
protected abstract Content getTypeParameterLink(LinkInfo linkInfo, Type typeParam)
Deprecated.Return the link to the given type parameter.- Parameters:
linkInfo
- the information about the link to construct.typeParam
- the type parameter to link to.
-
getTypeAnnotationLink
protected abstract Content getTypeAnnotationLink(LinkInfo linkInfo, AnnotationDesc annotation)
Deprecated.
-
getTypeParameterLinks
public Content getTypeParameterLinks(LinkInfo linkInfo)
Deprecated.Return the links to the type parameters.- Parameters:
linkInfo
- the information about the link to construct.- Returns:
- the links to the type parameters.
-
getTypeParameterLinks
public Content getTypeParameterLinks(LinkInfo linkInfo, boolean isClassLabel)
Deprecated.Return the links to the type parameters.- Parameters:
linkInfo
- the information about the link to construct.isClassLabel
- true if this is a class label. False if it is the type parameters portion of the link.- Returns:
- the links to the type parameters.
-
-