Interface SourceFactory

All Known Implementing Classes:
DomSourceFactory, StringSourceFactory

public interface SourceFactory
Factory to create a Source possibly taking into account the provided message payload instance.
Author:
Jonas Partner
  • Method Summary

    Modifier and Type
    Method
    Description
    Create appropriate Source instance for payload
  • Method Details

    • createSource

      Source createSource(Object payload)
      Create appropriate Source instance for payload
      Parameters:
      payload - The payload.
      Returns:
      The source.