public class XsltUriResolver extends Object implements URIResolver
URIResolver
which is capable of loading files
from the classpath and file system.
Use prefix classpath: or file: to denote either classpath or file system.
If no prefix is provided then the prefix from the location parameter is used.
If it neither has a prefix then classpath: is used.
This implementation cannot load files over http.Constructor and Description |
---|
XsltUriResolver(ClassResolver resolver,
String location) |
public XsltUriResolver(ClassResolver resolver, String location)
public Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
TransformerException
Apache Camel