Home | History | Annotate | Download | only in utils

Lines Matching refs:reference

164      * Resolves a URI reference against a base URI. Work-around for bug in
168 * @param reference the URI reference
171 public static URI resolve(final URI baseURI, final String reference) {
172 return URIUtils.resolve(baseURI, URI.create(reference));
176 * Resolves a URI reference against a base URI. Work-around for bug in
180 * @param reference the URI reference
183 public static URI resolve(final URI baseURI, URI reference){
187 if (reference == null) {
188 throw new IllegalArgumentException("Reference URI may nor be null");
190 boolean emptyReference = reference.toString().length() == 0;
192 reference = URI.create("#");
194 URI resolved = baseURI.resolve(reference);