Babble::DataSource - Base data source class for Babble
Babble::DataSource is a base class, a class which should never ever be used directly by applications (as it does nothing useful).
This class is merely provided to be a base to inherit from. All descendants must implement at least the methods this class implements.
The following methods are required to be implemented by all Babble::DataSource descendants:
Obviously, this creates a new object. The new object should in all cases, call SUPER::new, as to get their params stored. Then, it can go an interpret them as it sees fit.
This method does whatever is necessary to collect the data from the source, and then return a Babble::Document::Collection object.
The only paramater passed, is a Babble object reference.
Gergely Nagy, email@example.com
Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.
Babble::Document::Collection, Babble::DataSource::HTML, Babble::DataSource::FlatFile