org.apache.camel.builder.xml
Class XsltUriResolver
java.lang.Object
org.apache.camel.builder.xml.XsltUriResolver
- All Implemented Interfaces:
- URIResolver
public class XsltUriResolver
- extends Object
- implements URIResolver
Camel specific 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.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsltUriResolver
public XsltUriResolver(ClassResolver resolver,
String location)
resolve
public Source resolve(String href,
String base)
throws TransformerException
- Specified by:
resolve
in interface URIResolver
- Throws:
TransformerException
Apache CAMEL