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
  • Constructor Details

    • LinkFactory

      public LinkFactory()
      Deprecated.
  • Method Details

    • 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.
    • setBoundsLinkInfo

      private void setBoundsLinkInfo(LinkInfo linkInfo, Type bound)
      Deprecated.
    • 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.
    • getTypeAnnotationLinks

      public Content getTypeAnnotationLinks(LinkInfo linkInfo)
      Deprecated.