NAME
GenOO::RegionCollection::Factory - Factory for creating GenOO::RegionCollection objects
SYNOPSIS
# It returns the requested factory implementation
my $implementation = GenOO::RegionCollection::Factory->create('Implementation',
{
ARGUMENT_FOR_IMPLEMENTATION => undef
}
);
DESCRIPTION
It helps to encapsulate the actual factories that handle the creation of the requested objects
EXAMPLES
# Create a GFF implementation
my $gff_implementation = GenOO::RegionCollection::Factory->create('GFF',
{
file => 'sample.gff'
}
);
my $bed_implementation = GenOO::RegionCollection::Factory->create('BED',
{
file => 'sample.bed'
}
);