Class LinkInfoImpl

java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.links.LinkInfo
gw.gosudoc.com.sun.tools.doclets.formats.html.LinkInfoImpl

@Deprecated public class LinkInfoImpl extends LinkInfo
Deprecated.

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.

  • Field Details

    • configuration

      public final ConfigurationImpl configuration
      Deprecated.
    • context

      public LinkInfoImpl.Kind context
      Deprecated.
      The location of the link.
    • where

      public String where
      Deprecated.
      The value of the marker #.
    • styleName

      public String styleName
      Deprecated.
      String style of text defined in style sheet.
    • target

      public String target
      Deprecated.
      The value of the target.
  • Constructor Details

    • LinkInfoImpl

      public LinkInfoImpl(ConfigurationImpl configuration, LinkInfoImpl.Kind context, ExecutableMemberDoc executableMemberDoc)
      Deprecated.
      Construct a LinkInfo object.
      Parameters:
      configuration - the configuration data for the doclet
      context - the context of the link.
      context - the context of the link.
      executableMemberDoc - the member to link to.
    • LinkInfoImpl

      public LinkInfoImpl(ConfigurationImpl configuration, LinkInfoImpl.Kind context, ClassDoc classDoc)
      Deprecated.
      Construct a LinkInfo object.
      Parameters:
      configuration - the configuration data for the doclet
      context - the context of the link.
      classDoc - the class to link to.
    • LinkInfoImpl

      public LinkInfoImpl(ConfigurationImpl configuration, LinkInfoImpl.Kind context, Type type)
      Deprecated.
      Construct a LinkInfo object.
      Parameters:
      configuration - the configuration data for the doclet
      context - the context of the link.
      type - the class to link to.
  • Method Details

    • newContent

      protected Content newContent()
      Deprecated.
      Return an empty instance of a content object.
      Specified by:
      newContent in class LinkInfo
      Returns:
      an empty instance of a content object.
    • label

      public LinkInfoImpl label(String label)
      Deprecated.
      Set the label for the link.
      Parameters:
      label - plain-text label for the link
    • label

      public LinkInfoImpl label(Content label)
      Deprecated.
      Set the label for the link.
    • strong

      public LinkInfoImpl strong(boolean strong)
      Deprecated.
      Set whether or not the link should be strong.
    • styleName

      public LinkInfoImpl styleName(String styleName)
      Deprecated.
      Set the style to be used for the link.
      Parameters:
      styleName - String style of text defined in style sheet.
    • target

      public LinkInfoImpl target(String target)
      Deprecated.
      Set the target to be used for the link.
      Parameters:
      styleName - String style of text defined in style sheet.
    • varargs

      public LinkInfoImpl varargs(boolean varargs)
      Deprecated.
      Set whether or not this is a link to a varargs parameter.
    • where

      public LinkInfoImpl where(String where)
      Deprecated.
      Set the fragment specifier for the link.
    • getContext

      public LinkInfoImpl.Kind getContext()
      Deprecated.
    • setContext

      public final void setContext(LinkInfoImpl.Kind c)
      Deprecated.
      This method sets the link attributes to the appropriate values based on the context.
      Parameters:
      c - the context id to set.
    • isLinkable

      public boolean isLinkable()
      Deprecated.
      Return true if this link is linkable and false if we can't link to the desired place.
      Specified by:
      isLinkable in class LinkInfo
      Returns:
      true if this link is linkable and false if we can't link to the desired place.