org.treebind
Interface Source

All Superinterfaces:
PipeElement
All Known Subinterfaces:
Filter
All Known Implementing Classes:
DefaultFilterImplementation, JavaObject2XmlSaxFilter, JavaObjectSource, JenaRdf2JavaObjectFilter, JenaRdfSource, Ldap2JavaObjectFilter, Ldap2XmlSaxFilter, LdapSource, TreeBom, XmlSax2JavaObjectFilter, XmlSaxSource

public interface Source
extends PipeElement

Although impossible to describe in a Java interface, Sources are PipeElement which are expected to pour Propertys into a Sink. A pipe element that is both a Source and a Sink is called a Filter.

Author:
Eric van der Vlist
See Also:
PipeElement, Filter, Sink

Method Summary
 Sink getSink()
          Get the Sink in which properties will be poured.
 void setSink(Sink sink)
          Sets the Sink in which properties will be poured.
 
Methods inherited from interface org.treebind.PipeElement
getPipe, setPipe
 

Method Detail

setSink

public void setSink(Sink sink)
Sets the Sink in which properties will be poured.

Parameters:
sink - the sink

getSink

public Sink getSink()
Get the Sink in which properties will be poured.

Returns:
the sink