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 Source
createSource(Object payload)
Create appropriateSource
instance forpayload
-
Method Details
-
createSource
Create appropriateSource
instance forpayload
- Parameters:
payload
- The payload.- Returns:
- The source.
-