public class XsltComponent extends UriEndpointComponent
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
XsltComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
A factory method allowing derived components to create a new endpoint
from the given URI, remaining path and optional parameters
|
URIResolver |
getUriResolver() |
XsltUriResolverFactory |
getUriResolverFactory() |
XmlConverter |
getXmlConverter() |
boolean |
isContentCache() |
boolean |
isSaxon() |
void |
setContentCache(boolean contentCache)
Cache for the resource content (the stylesheet file) when it is loaded.
|
void |
setSaxon(boolean saxon)
Whether to use Saxon as the transformerFactoryClass.
|
void |
setUriResolver(URIResolver uriResolver)
To use a custom javax.xml.transform.URIResolver.
|
void |
setUriResolverFactory(XsltUriResolverFactory uriResolverFactory)
To use a custom javax.xml.transform.URIResolver which depends on a dynamic endpoint resource URI or which is a subclass of
XsltUriResolver. |
void |
setXmlConverter(XmlConverter xmlConverter)
To use a custom implementation of
XmlConverter |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic XsltComponent()
public XmlConverter getXmlConverter()
public void setXmlConverter(XmlConverter xmlConverter)
XmlConverterpublic XsltUriResolverFactory getUriResolverFactory()
public void setUriResolverFactory(XsltUriResolverFactory uriResolverFactory)
XsltUriResolver.
Do not use in combination with uriResolver.
See also setUriResolver(URIResolver).public URIResolver getUriResolver()
public void setUriResolver(URIResolver uriResolver)
setUriResolverFactory(XsltUriResolverFactory).public boolean isContentCache()
public void setContentCache(boolean contentCache)
public boolean isSaxon()
public void setSaxon(boolean saxon)
protected Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
DefaultComponentcreateEndpoint in class DefaultComponenturi - the full URI of the endpointremaining - the remaining part of the URI without the query
parameters or component prefixparameters - the optional parameters passed inException - is thrown if error creating the endpointApache Camel