@ManagedResource(description="Managed XsltSaxonEndpoint")
@UriEndpoint(firstVersion="3.0.0",
scheme="xslt-saxon",
title="XSLT Saxon",
syntax="xslt-saxon:resourceUri",
producerOnly=true,
category={CORE,TRANSFORMATION})
public class XsltSaxonEndpoint
extends org.apache.camel.component.xslt.XsltEndpoint
| Constructor and Description |
|---|
XsltSaxonEndpoint(String endpointUri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
protected XsltSaxonBuilder |
createXsltBuilder() |
protected void |
doInit() |
protected void |
doStart() |
net.sf.saxon.Configuration |
getSaxonConfiguration() |
Map<String,Object> |
getSaxonConfigurationProperties() |
List<Object> |
getSaxonExtensionFunctions() |
Map<String,Object> |
getSaxonReaderProperties() |
boolean |
isAllowStAX() |
protected void |
loadResource(String resourceUri,
org.apache.camel.component.xslt.XsltBuilder xslt)
Loads the resource.
|
void |
setAllowStAX(boolean allowStAX)
Whether to allow using StAX as the javax.xml.transform.Source.
|
void |
setSaxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
To use a custom Saxon configuration
|
void |
setSaxonConfigurationProperties(Map<String,Object> configurationProperties)
To set custom Saxon configuration properties
|
void |
setSaxonExtensionFunctions(List<Object> extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.
|
void |
setSaxonExtensionFunctions(String extensionFunctions)
Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.
|
void |
setSaxonReaderProperties(Map<String,Object> saxonReaderProperties)
To set custom Saxon Reader properties
|
clearCachedStylesheet, configureOutput, doStop, findOrCreateEndpoint, getEntityResolver, getErrorListener, getOutput, getParameters, getResourceUri, getResultHandlerFactory, getTransformerCacheSize, getTransformerFactory, getTransformerFactoryClass, getTransformerFactoryConfigurationStrategy, getUriResolver, getXslt, isCacheCleared, isCacheStylesheet, isContentCache, isDeleteOutputFile, isFailOnNullBody, onExchange, setCacheCleared, setContentCache, setDeleteOutputFile, setEntityResolver, setErrorListener, setFailOnNullBody, setOutput, setParameters, setResourceUri, setResultHandlerFactory, setTransformerCacheSize, setTransformerFactory, setTransformerFactoryClass, setTransformerFactoryConfigurationStrategy, setUriResolver, setXsltcreatePollingConsumer, createProcessor, createProducer, getProcessor, setProcessorconfigureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, 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, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic XsltSaxonEndpoint(String endpointUri, org.apache.camel.Component component)
public void setSaxonExtensionFunctions(List<Object> extensionFunctions)
public void setSaxonExtensionFunctions(String extensionFunctions)
public net.sf.saxon.Configuration getSaxonConfiguration()
public void setSaxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
public void setSaxonConfigurationProperties(Map<String,Object> configurationProperties)
public void setSaxonReaderProperties(Map<String,Object> saxonReaderProperties)
@ManagedAttribute(description="Whether to allow using StAX as the javax.xml.transform.Source") public boolean isAllowStAX()
public void setAllowStAX(boolean allowStAX)
protected void doInit()
throws Exception
doInit in class org.apache.camel.component.xslt.XsltEndpointExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.component.xslt.XsltEndpointExceptionprotected XsltSaxonBuilder createXsltBuilder() throws Exception
createXsltBuilder in class org.apache.camel.component.xslt.XsltEndpointExceptionprotected void loadResource(String resourceUri, org.apache.camel.component.xslt.XsltBuilder xslt) throws TransformerException, IOException
loadResource in class org.apache.camel.component.xslt.XsltEndpointresourceUri - the resource to loadTransformerException - is thrown if error loading resourceIOException - is thrown if error loading resourceApache Camel