private static class StylesheetCache.DepResolver
extends Object
implements URIResolver
Modifier and Type | Field and Description |
---|---|
(package private) StylesheetCache |
cache
The cache to add dependencies to
|
(package private) URIResolver |
realResolver
Does the work of resolving the URI's
|
Constructor and Description |
---|
DepResolver(StylesheetCache cache,
URIResolver realResolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Source |
resolve(String href,
String base)
Resolve a URI, and add a dependency for it to the cache.
|
StylesheetCache cache
URIResolver realResolver
DepResolver(StylesheetCache cache, URIResolver realResolver)
cache
- The cache to add dependencies torealResolver
- The URIResolver that does the resolutionpublic Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
href
- Full or partial hyperlink referencebase
- Base URI of the documentTransformerException