Class DocLink
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.util.DocLink
-
@Deprecated public class DocLink extends java.lang.ObjectDeprecated.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,fragmentandquery.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 Summary
Constructors Constructor Description DocLink(DocPath path)Deprecated.Create a DocLink representing the URIpath.DocLink(DocPath path, java.lang.String query, java.lang.String fragment)Deprecated.Create a DocLink representing the URIpath?query#fragment.DocLink(java.lang.String path, java.lang.String query, java.lang.String fragment)Deprecated.Create a DocLink representing the URIpath?query#fragment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DocLinkfragment(java.lang.String fragment)Deprecated.Create a DocLink representing the URI#fragment.private static booleanisEmpty(java.lang.String s)Deprecated.java.lang.StringtoString()Deprecated.Return the link in the form "path?query#fragment", omitting any empty components.
-
-
-
Constructor Detail
-
DocLink
public DocLink(DocPath path)
Deprecated.Create a DocLink representing the URIpath.
-
DocLink
public DocLink(DocPath path, java.lang.String query, java.lang.String fragment)
Deprecated.Create a DocLink representing the URIpath?query#fragment. query and fragment may be null.
-
DocLink
public DocLink(java.lang.String path, java.lang.String query, java.lang.String fragment)Deprecated.Create a DocLink representing the URIpath?query#fragment. Any of the component parts may be null.
-
-
Method Detail
-
fragment
public static DocLink fragment(java.lang.String fragment)
Deprecated.Create a DocLink representing the URI#fragment.
-
toString
public java.lang.String toString()
Deprecated.Return the link in the form "path?query#fragment", omitting any empty components.- Overrides:
toStringin classjava.lang.Object
-
isEmpty
private static boolean isEmpty(java.lang.String s)
Deprecated.
-
-