org.apache.camel.builder.xml
Class XsltUriResolver

java.lang.Object
  extended by 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:

Constructor Summary
XsltUriResolver(ClassResolver resolver, String location)
           
 
Method Summary
 Source resolve(String href, String base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsltUriResolver

public XsltUriResolver(ClassResolver resolver,
                       String location)
Method Detail

resolve

public Source resolve(String href,
                      String base)
               throws TransformerException
Specified by:
resolve in interface URIResolver
Throws:
TransformerException


Apache CAMEL