Lines Matching defs:path
29 * Abstraction for simple relative URIs, consisting of a path,
42 final String path;
51 /** Create a DocLink representing the URI {@code path}. */
52 public DocLink(DocPath path) {
53 this(path.getPath(), null, null);
57 * Create a DocLink representing the URI {@code path?query#fragment}.
60 public DocLink(DocPath path, String query, String fragment) {
61 this(path.getPath(), query, fragment);
65 * Create a DocLink representing the URI {@code path?query#fragment}.
68 public DocLink(String path, String query, String fragment) {
69 this.path = path;
75 * Return the link in the form "path?query#fragment", omitting any empty
80 // common fast path
81 if (path != null && isEmpty(query) && isEmpty(fragment))
82 return path;
85 if (path != null)
86 sb.append(path);