| java.lang.Object org.apache.synapse.mediators.AbstractMediator org.apache.synapse.mediators.transform.XSLTMediator
XSLTMediator | public class XSLTMediator extends AbstractMediator (Code) | | The XSLT mediator performs an XSLT transformation requested, using
the current message. The source attribute (if available) specifies the source element
on which the transformation would be applied. It will default to the first child of
the messages' SOAP body, if it is omitted.
Additional properties passed into this mediator would become parameters for XSLT.
Additional features passed into this mediator would become features except for
"http://ws.apache.org/ns/synapse/transform/feature/dom" for the Transformer Factory, which
is used to decide between using DOM and Streams during the transformation process. By default
this is turned on as an optimization, but should be set to false if issues are detected
Note: Set the TransformerFactory system property to generate and use translets
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryImpl
|
USE_DOM_SOURCE_AND_RESULTS | final public static String USE_DOM_SOURCE_AND_RESULTS(Code) | | The feature for which deciding swiching between DOM and Stream during the
transformation process
|
XSLTMediator | public XSLTMediator()(Code) | | |
addAllProperties | public void addAllProperties(List list)(Code) | | |
addFeature | public void addFeature(String featureName, boolean isFeatureEnable)(Code) | | to add a feature which need to set to the TransformerFactory
Parameters: featureName - The name of the feature Parameters: isFeatureEnable - should this feature enable? |
getFeatures | public List getFeatures()(Code) | | Returns the features explicitly set to the TransformerFactory through this mediator |
getTargetPropertyName | public String getTargetPropertyName()(Code) | | |
mediate | public boolean mediate(MessageContext synCtx)(Code) | | Transforms this message (or its element specified as the source) using the
given XSLT transformation
Parameters: synCtx - the current message where the transformation will apply true always |
setSourceXPathString | public void setSourceXPathString(String sourceXPathString)(Code) | | |
setTargetPropertyName | public void setTargetPropertyName(String targetPropertyName)(Code) | | |
|
|