| DSlib documentation | view source | Contained in the DSlib distribution. |
DS::Source - component that is the source of rows
This class is the source of rows. It can be bound to any DS::Target,
which will receive rows from it. Unless you are into writing complicated
classes, you will probably never need to inherit directly from this class.
If you need to write a class that retrieves data from outside a chain and
passes it on as rows, please take a look at DS::Importer.
None.
Constructor. Instantiates an object of class $class, returning the type
$out_type, attaced to the target $target. Besides $class,
any of the parameters can be left out.
Attaches target $target to this object. This method also triggers
type checking, ensuring that the outgoing type of this object is
sufficient for $target. If the type check fails, an exception
is thrown.
This is a method mostly for internal use. It will get or set the target, bypassing type checks.
Calling this metod will cause the transformer to pass $row to the target
$target.
This is an accessor that gets or sets the outgoing type of this object.
Written by Michael Zedeler.
| DSlib documentation | view source | Contained in the DSlib distribution. |