Class StringSourceFactory

java.lang.Object
org.springframework.integration.xml.source.StringSourceFactory
All Implemented Interfaces:
SourceFactory

public class StringSourceFactory
extends java.lang.Object
implements SourceFactory
SourceFactory implementation which supports creation of a StringSource from a Document, File or String payload
  • Constructor Summary

    Constructors 
    Constructor Description
    StringSourceFactory()  
    StringSourceFactory​(javax.xml.transform.TransformerFactory transformerFactory)  
  • Method Summary

    Modifier and Type Method Description
    javax.xml.transform.Source createSource​(java.lang.Object payload)
    Create appropriate Source instance for payload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createSource

      public javax.xml.transform.Source createSource​(java.lang.Object payload)
      Description copied from interface: SourceFactory
      Create appropriate Source instance for payload
      Specified by:
      createSource in interface SourceFactory
      Parameters:
      payload - The payload.
      Returns:
      The source.