public interface CatalogUriResolver extends URIResolver
Modifier and Type | Method and Description |
---|---|
Source |
resolve(String href,
String base)
The method searches through the catalog entries in the main and
alternative catalogs to attempt to find a match with the specified URI.
|
Source resolve(String href, String base)
resolve
in interface URIResolver
href
- an href attribute, which may be relative or absolutebase
- The base URI against which the href attribute will be made
absolute if the absolute URI is requiredSource
object if a mapping is found.
If no mapping is found, returns an empty Source
object if the javax.xml.catalog.resolve
property is set to
ignore
;
returns a Source
object with the original URI
(href, or href resolved with base if base is not null) if the
javax.xml.catalog.resolve
property is set to continue
.CatalogException
- if no mapping is found and
javax.xml.catalog.resolve
is specified as strict Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait