Class SourceSink


  • public class SourceSink
    extends Object
    Source - Sink value Object.

    This class allows users of the PayloadProcessor class to explicitly specify both the Source and Sink payload carrier types. This can be used in situations where the required Source or Sink are not supported amoung the default payload types supported by the PayloadProcessor (for the Source), or by the SinkType (for the Sink).

    Since:
    1.0
    Author:
    Daniel Bevenius
    • Constructor Detail

      • SourceSink

        public SourceSink()
      • SourceSink

        public SourceSink​(org.smooks.api.io.Source source,
                          org.smooks.api.io.Sink sink)
    • Method Detail

      • getSource

        public org.smooks.api.io.Source getSource()
      • setSource

        public void setSource​(org.smooks.api.io.Source source)
      • getSink

        public org.smooks.api.io.Sink getSink()
      • setSink

        public void setSink​(org.smooks.api.io.Sink sink)