public final class ClassPathURIResolver extends Object implements URIResolver
URIResolver that looks for resources via the
ClassLoader.
Such resources should be specified via a special URI scheme called URI_SCHEME,
i.e. of the form classpath:/uk/ac/ed/ph/snuggletex/thingy.xsl.
(The '/' is required here, unlike the similar mechanism in Spring Framework.)
| Modifier and Type | Field and Description |
|---|---|
static String |
URI_SCHEME |
| Modifier and Type | Method and Description |
|---|---|
static ClassPathURIResolver |
getInstance() |
Source |
resolve(String href,
String base) |
public static final String URI_SCHEME
public static ClassPathURIResolver getInstance()
public Source resolve(String href, String base) throws TransformerException
resolve in interface URIResolverTransformerExceptionCopyright © 2008–2026 The University of Edinburgh. All rights reserved.