Package org.apache.camel.component.xslt
Interface XsltUriResolverFactory
-
- All Known Implementing Classes:
DefaultXsltUriResolverFactory
public interface XsltUriResolverFactoryCan be used to create custom URI resolver for the XSLT endpoint. This interface is useful, if the custom URI resolver depends on the resource URI specified in the XSLT endpoint. The resource URI of the endpoint can be even dynamic, like in the following example:
The dynamic resource URI given in ${header.XSLT_FILE} will be past as resourceUri parameter in the method<camel:recipientList><camel:simple>xslt:${header.XSLT_FILE}?uriResolverFactory=#uriResolverFactory</camel:simple></camel:recipientList>createUriResolver(CamelContext, String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIResolvercreateUriResolver(org.apache.camel.CamelContext camelContext, String resourceUri)Method is called during the creation of a xslt endpoint.
-
-
-
Method Detail
-
createUriResolver
URIResolver createUriResolver(org.apache.camel.CamelContext camelContext, String resourceUri)
Method is called during the creation of a xslt endpoint.- Parameters:
camelContext- camel contextresourceUri- resource URI specified in the endpoint URI- Returns:
- URI resolver
-
-