public class XsltUriResolver extends Object implements URIResolver
URIResolver
which is capable of loading files
from classpath, file system and more.
You can prefix with: classpath, file, http, ref, or bean.
classpath, file and http loads the resource using these protocols (classpath is default).
ref will lookup the resource in the registry.
bean will call a method on a bean to be used as the resource.
For bean you can specify the method name after dot, eg bean:myBean.myMethodConstructor and Description |
---|
XsltUriResolver(CamelContext context,
String location) |
public XsltUriResolver(CamelContext context, String location)
public Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
TransformerException
Apache Camel