org.treebind
Interface PipeElement

All Known Subinterfaces:
Filter, Sink, Source
All Known Implementing Classes:
DefaultFilterImplementation, DefaultPipeElementImplementation, JavaObject2XmlSaxFilter, JavaObjectSink, JavaObjectSource, JenaRdf2JavaObjectFilter, JenaRdfSource, Ldap2JavaObjectFilter, Ldap2XmlSaxFilter, LdapSource, TraceSink, TreeBom, XmlSax2JavaObjectFilter, XmlSaxSink, XmlSaxSource

public interface PipeElement

Pipe elements are objects that stand in pipes... Their only duty is to be able to associate themselves to a pipe through a setter and a getter method. Usually, a pipe element is either a Source, a Sink or both, ie a Filter.

Author:
Eric van der Vlist
See Also:
Pipe, Source, Filter, Sink

Method Summary
 Pipe getPipe()
          Get the pipe.
 void setPipe(Pipe pipe)
          Sets the pipe.
 

Method Detail

setPipe

public void setPipe(Pipe pipe)
Sets the pipe.

Parameters:
pipe - the pipe.

getPipe

public Pipe getPipe()
Get the pipe.

Returns:
the pipe.