Spring Integration

org.springframework.integration.xml.transformer
Class SourceCreatingTransformer

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.transformer.AbstractTransformer
          extended by org.springframework.integration.transformer.AbstractPayloadTransformer<java.lang.Object,javax.xml.transform.Source>
              extended by org.springframework.integration.xml.transformer.SourceCreatingTransformer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, NamedComponent, Transformer

public class SourceCreatingTransformer
extends AbstractPayloadTransformer<java.lang.Object,javax.xml.transform.Source>

Transforms the payload to a Source using a SourceFactory. Defaults to using a DomSourceFactory if an alternative is not provided.

Author:
Jonas Partner

Field Summary
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
SourceCreatingTransformer()
           
SourceCreatingTransformer(SourceFactory sourceFactory)
           
 
Method Summary
 javax.xml.transform.Source transformPayload(java.lang.Object payload)
           
 
Methods inherited from class org.springframework.integration.transformer.AbstractPayloadTransformer
doTransform
 
Methods inherited from class org.springframework.integration.transformer.AbstractTransformer
transform
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceCreatingTransformer

public SourceCreatingTransformer()

SourceCreatingTransformer

public SourceCreatingTransformer(SourceFactory sourceFactory)
Method Detail

transformPayload

public javax.xml.transform.Source transformPayload(java.lang.Object payload)
Specified by:
transformPayload in class AbstractPayloadTransformer<java.lang.Object,javax.xml.transform.Source>

Spring Integration