org.springframework.integration.xml.transformer
Class DefaultTransformerConfigurer
java.lang.Object
org.springframework.integration.xml.transformer.DefaultTransformerConfigurer
- All Implemented Interfaces:
- TransformerConfigurer
public class DefaultTransformerConfigurer
- extends java.lang.Object
- implements TransformerConfigurer
TransformerConfigurer
instance which looks for headers and uses them
to configure the provided Transformer
instance. For example a header
names xslt_paramter_X will cause the transfomer to be configured with a
property names X with the value of the header. A property named
xslt_output_property_X will cause an output property on the transformer to be
set with this headers value.
- Author:
- Jonas Partner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTransformerConfigurer
public DefaultTransformerConfigurer()
configureTransfomer
public void configureTransfomer(Message<?> message,
javax.xml.transform.Transformer transformer)
- Description copied from interface:
TransformerConfigurer
- Callback method called by Xslt transfomer implementations after transformer is creates
- Specified by:
configureTransfomer
in interface TransformerConfigurer
extractOutputPropertyHeaders
protected java.util.Map<java.lang.String,java.lang.String> extractOutputPropertyHeaders(MessageHeaders headers)
extractParameterHeaders
protected java.util.Map<java.lang.String,java.lang.Object> extractParameterHeaders(MessageHeaders headers)