Package org.apache.camel.component.xslt
Class XsltUriResolver
- java.lang.Object
-
- org.apache.camel.component.xslt.XsltUriResolver
-
- All Implemented Interfaces:
URIResolver
public class XsltUriResolver extends Object implements URIResolver
Camel specificURIResolver
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.myMethod
-
-
Constructor Summary
Constructors Constructor Description XsltUriResolver(org.apache.camel.CamelContext context, String location)
-
-
-
Constructor Detail
-
XsltUriResolver
public XsltUriResolver(org.apache.camel.CamelContext context, String location)
-
-
Method Detail
-
resolve
public Source resolve(String href, String base) throws TransformerException
- Specified by:
resolve
in interfaceURIResolver
- Throws:
TransformerException
-
-