Class XsltSaxonComponent
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultComponent
-
- org.apache.camel.component.xslt.XsltComponent
-
- org.apache.camel.component.xslt.saxon.XsltSaxonComponent
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.CamelContextAware
,org.apache.camel.Component
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
@Component("xslt-saxon") public class XsltSaxonComponent extends org.apache.camel.component.xslt.XsltComponent
The XSLT Component is for performing XSLT transformations of messages using Saxon.
-
-
Constructor Summary
Constructors Constructor Description XsltSaxonComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureEndpoint(org.apache.camel.Endpoint endpoint, String remaining, Map<String,Object> parameters)
protected XsltSaxonEndpoint
createXsltEndpoint(String uri)
net.sf.saxon.Configuration
getSaxonConfiguration()
Map<String,Object>
getSaxonConfigurationProperties()
List<Object>
getSaxonExtensionFunctions()
void
setSaxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
To use a custom Saxon configurationvoid
setSaxonConfigurationProperties(Map<String,Object> configurationProperties)
To set custom Saxon configuration propertiesvoid
setSaxonExtensionFunctions(String extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.void
setSaxonExtensionFunctions(List<Object> extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.-
Methods inherited from class org.apache.camel.component.xslt.XsltComponent
createEndpoint, getTransformerFactoryClass, getTransformerFactoryConfigurationStrategy, getUriResolver, getUriResolverFactory, isContentCache, setContentCache, setTransformerFactoryClass, setTransformerFactoryConfigurationStrategy, setUriResolver, setUriResolverFactory
-
Methods inherited from class org.apache.camel.support.DefaultComponent
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
setSaxonExtensionFunctions
public void setSaxonExtensionFunctions(List<Object> extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition. You would need to add camel-saxon to the classpath. The function is looked up in the registry, where you can comma to separate multiple values to lookup.
-
setSaxonExtensionFunctions
public void setSaxonExtensionFunctions(String extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition. You would need to add camel-saxon to the classpath. The function is looked up in the registry, where you can comma to separate multiple values to lookup.
-
getSaxonConfiguration
public net.sf.saxon.Configuration getSaxonConfiguration()
-
setSaxonConfiguration
public void setSaxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
To use a custom Saxon configuration
-
setSaxonConfigurationProperties
public void setSaxonConfigurationProperties(Map<String,Object> configurationProperties)
To set custom Saxon configuration properties
-
createXsltEndpoint
protected XsltSaxonEndpoint createXsltEndpoint(String uri)
- Overrides:
createXsltEndpoint
in classorg.apache.camel.component.xslt.XsltComponent
-
-