Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

class::mixinfactory::factory(3pm) [debian man page]

MixinFactory::Factory(3pm)				User Contributed Perl Documentation				MixinFactory::Factory(3pm)

NAME
Class::MixinFactory::Factory - Class Factory with Selection of Mixins SYNOPSIS
use Class::MixinFactory::Factory; my $factory = Class::MixinFactory::Factory->new(); $factory->base_class( "MyClass"); $factory->mixin_prefix( "MyMixins" ); $factory->mixed_prefix( "MyClasses" ); my $class = $factory->class( @mixins ); DESCRIPTION
A mixin factory generates new classes at run-time which inherit from each of several classes. PUBLIC METHODS
new() $factory_class->new() : $factory $factory_class->new( %attributes ) : $factory Create a new factory object. May be passed a hash of attributes, with the key matching one of the supported accessor methods named below and the value containing the value to assign. base_class() $factory->base_class() : $package_name $factory->base_class( $package_name ) Required. Get or set the base class to be inherited from by all mixed classes. mixin_prefix() $factory->mixin_prefix() : $package_name $factory->mixin_prefix( $package_name ) Optional. Get or set a prefix to be placed before all mixin class names that don't contain a double-colon. Defaults to the name of the base class. mixed_prefix() $factory->mixed_prefix() : $package_name $factory->mixed_prefix( $package_name ) Optional. Get or set a prefix to be placed before all generated class names. Defaults to the name of the base class or the factory class followed by "::AUTO" class() $factory->class( @mixins ) : $package_name Find or generate a class combining the requested mixin classes. SEE ALSO
For a facade interface that facilitates access to this functionality, see Class::MixinFactory. For distribution, installation, support, copyright and license information, see Class::MixinFactory::ReadMe. perl v5.10.1 2009-12-10 MixinFactory::Factory(3pm)

Check Out this Related Man Page

Bio::Factory::ObjectFactoryI(3pm)			User Contributed Perl Documentation			 Bio::Factory::ObjectFactoryI(3pm)

NAME
Bio::Factory::ObjectFactoryI - A General object creator factory 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. FEEDBACK
Mailing Lists 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/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs 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 the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Jason Stajich Email jason@bioperl.org APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ create Title : create Usage : $factory->create(%args) Function: Create a new object Returns : a new object Args : hash of initialization parameters create_object 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 perl v5.14.2 2012-03-02 Bio::Factory::ObjectFactoryI(3pm)
Man Page

Featured Tech Videos