java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.DocLink

@Deprecated public class DocLink extends Object
Deprecated.
Abstraction for simple relative URIs, consisting of a path, an optional query, and an optional fragment. DocLink objects can be created by the constructors below or from a DocPath using the convenience methods, fragment and query.

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 Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final String
    Deprecated.
     
    (package private) final String
    Deprecated.
     
    (package private) final String
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Create a DocLink representing the URI path.
    DocLink(DocPath path, String query, String fragment)
    Deprecated.
    Create a DocLink representing the URI path?query#fragment.
    DocLink(String path, String query, String fragment)
    Deprecated.
    Create a DocLink representing the URI path?query#fragment.
  • Method Summary

    Modifier and Type
    Method
    Description
    static DocLink
    fragment(String fragment)
    Deprecated.
    Create a DocLink representing the URI #fragment.
    private static boolean
    Deprecated.
     
    Deprecated.
    Return the link in the form "path?query#fragment", omitting any empty components.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • path

      final String path
      Deprecated.
    • query

      final String query
      Deprecated.
    • fragment

      final String fragment
      Deprecated.
  • Constructor Details

    • DocLink

      public DocLink(DocPath path)
      Deprecated.
      Create a DocLink representing the URI path.
    • DocLink

      public DocLink(DocPath path, String query, String fragment)
      Deprecated.
      Create a DocLink representing the URI path?query#fragment. query and fragment may be null.
    • DocLink

      public DocLink(String path, String query, String fragment)
      Deprecated.
      Create a DocLink representing the URI path?query#fragment. Any of the component parts may be null.
  • Method Details

    • fragment

      public static DocLink fragment(String fragment)
      Deprecated.
      Create a DocLink representing the URI #fragment.
    • toString

      public String toString()
      Deprecated.
      Return the link in the form "path?query#fragment", omitting any empty components.
      Overrides:
      toString in class Object
    • isEmpty

      private static boolean isEmpty(String s)
      Deprecated.