Lines Matching refs:URI

28 import com.sun.org.apache.xerces.internal.util.URI;
62 /** DOM2: Namespace URI. */
90 // DOM Level 3: namespace URI is never empty string.
237 * The namespace URI of this node, or null if it is unspecified.<p>
241 * namespace URI given at creation time.<p>
353 // Absolute base URI is computed according to XML Base (http://www.w3.org/TR/xmlbase/#granularity)
355 // 1. the base URI specified by an xml:base attribute on the element, if one exists
363 uri = new URI(uri).toString();
365 catch (com.sun.org.apache.xerces.internal.util.URI.MalformedURIException e) {
366 // This may be a relative URI.
368 // Start from the base URI of the parent, or if this node has no parent, the owner node.
371 // Make any parentURI into a URI object to use with the URI(URI, String) constructor.
376 uri = new URI(new URI(parentBaseURI), uri).toString();
378 catch (com.sun.org.apache.xerces.internal.util.URI.MalformedURIException ex){
379 // This should never happen: parent should have checked the URI and returned null if invalid.
392 //2.the base URI of the element's parent element within the document or external entity,
395 //base URI of parent element is not null
398 //return valid absolute base URI
399 return new URI(parentElementBaseURI).toString();
401 catch (com.sun.org.apache.xerces.internal.util.URI.MalformedURIException e){
406 //3. the base URI of the document entity or external entity containing the element
412 //return valid absolute base URI
413 return new URI(baseURI).toString();
415 catch (com.sun.org.apache.xerces.internal.util.URI.MalformedURIException e){