public class XsltOperation extends PooledTransformerOperation<String,net.sf.saxon.s9api.XsltTransformer>
documentBuilderFactory, entityResolver, expandEntities| Constructor and Description |
|---|
XsltOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.pool2.BasePooledObjectFactory |
createPooledObjectFactory(String xslt) |
String |
xsltTransform(InputStream content,
String xslt,
Map<String,Object> contextProperties,
String outputEncoding,
XmlModule config)
Uses XSLT to transform the input content.
|
doInitialise, initialise, start, stop, testOnReturn, withTransformer@Execution(value=CPU_INTENSIVE)
@MediaType(value="*/*",
strict=false)
@Throws(value=StandardXmlErrorTypeProvider.class)
public String xsltTransform(@Content(primary=true)
InputStream content,
@Text
String xslt,
@Optional @Content @NullSafe
Map<String,Object> contextProperties,
@DefaultEncoding
String outputEncoding,
@Config
XmlModule config)
content - the XML content to transformxslt - the XSLT script definitioncontextProperties - Properties that wil be made available to the transform context.outputEncoding - the output encoding. Defaults to the application's defaultconfig - the config objectprotected org.apache.commons.pool2.BasePooledObjectFactory createPooledObjectFactory(String xslt)
createPooledObjectFactory in class PooledTransformerOperation<String,net.sf.saxon.s9api.XsltTransformer>Copyright © 2026 MuleSoft, Inc.. All rights reserved.