Class 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.

    • Constructor Detail

      • 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 Detail

      • 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