Bio::Factory
ObjectFactoryI
Toolbar
Summary
Bio::Factory::ObjectFactoryI - A General object creator factory
Package variables
No package variables defined.
Included modules
Inherit
Synopsis
# see the implementations of this interface for details but
# basically
my $obj = $factory->create(%args);
Description
This interface is the basic structure for a factory which creates new
objects. In this case it is up to the implementer to check arguments
and initialize whatever new object the implementing class is designed for.
Methods
Methods description
Title : create Usage : $factory->create(%args) Function: Create a new object Returns : a new object Args : hash of initialization parameters |
Title : create_object Usage : $obj = $factory->create_object(%args) Function: Create a new object.
This is supposed to supercede create(). Right now it only delegates
to create().
Returns : a new object
Args : hash of initialization parameters |
Methods code
sub create
{ my ($self,@args) = @_;
$self->throw_not_implemented(); } |
sub create_object
{ my ($self,@args) = @_;
return $self->create(@args);
}
1; } |
General documentation
User feedback is an integral part of the evolution of this and other
Bioperl modules. Send your comments and suggestions preferably to
the Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/MailList.shtml - About the mailing lists
Report bugs to the Bioperl bug tracking system to help us keep track
of the bugs and their resolution. Bug reports can be submitted via
email or the web:
bioperl-bugs@bioperl.org
http://bugzilla.bioperl.org/
AUTHOR - Jason Stajich | Top |
Additional contributors names and emails here
The rest of the documentation details each of the object methods.
Internal methods are usually preceded with a _