Package org.apache.camel.component.xslt
Interface XsltUriResolverFactory
-
- All Known Implementing Classes:
DefaultXsltUriResolverFactory
public interface XsltUriResolverFactory
Can 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:<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 URIResolver
createUriResolver(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
-
-