org.springframework.integration.xml.transformer
Class DefaultTransformerConfigurer
java.lang.Object
org.springframework.integration.xml.transformer.DefaultTransformerConfigurer
- All Implemented Interfaces:
- TransformerConfigurer
public class DefaultTransformerConfigurer
- extends Object
- implements TransformerConfigurer
TransformerConfigurer
instance which looks for headers and uses them
to configure the provided Transformer
instance. For example a header
named 'xslt_parameter_X' will cause the transformer to be configured with a
property named '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 header's 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()
configureTransformer
public void configureTransformer(Message<?> message,
Transformer transformer)
- Description copied from interface:
TransformerConfigurer
- Callback method called by XSLT transformer implementations after transformer is created.
- Specified by:
configureTransformer
in interface TransformerConfigurer
extractOutputPropertyHeaders
protected Map<String,String> extractOutputPropertyHeaders(MessageHeaders headers)
extractParameterHeaders
protected Map<String,Object> extractParameterHeaders(MessageHeaders headers)
Copyright © 2010. All Rights Reserved.