---
name: "Bio::Search::Result::ResultFactory"
section: "3pm"
platform: "linux"
package: "libbio-perl-perl"
version: "1.7.8-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Bio::Search::Result::ResultFactory"
---

# Bio::Search::Result::ResultFactory(3pm)

A factory to create Bio::Search::Result::ResultI objects

## NAME

Bio::Search::Result::ResultFactory - A factory to create Bio::Search::Result::ResultI objects

## SYNOPSIS

```
    use Bio::Search::Result::ResultFactory;
    my $factory = Bio::Search::Result::ResultFactory->new();
    my $resultobj = $factory->create(@args);
```

## DESCRIPTION

This is a general way of hiding the object creation process so that we can dynamically change the objects that are created by the SearchIO parser depending on what format report we are parsing.

This object is for creating new Results.

## 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://github.com/bioperl/bioperl-live/issues
```

## 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 \_

### new

```
 Title   : new
 Usage   : my $obj = Bio::Search::Result::ResultFactory->new();
 Function: Builds a new Bio::Search::Result::ResultFactory object
 Returns : Bio::Search::Result::ResultFactory
 Args    :
```

### create

```
 Title   : create
 Usage   : $factory->create(%args)
 Function: Create a new L<Bio::Search::Result::ResultI> object
 Returns : L<Bio::Search::Result::ResultI>
 Args    : hash of initialization parameters
```

### type

```
 Title   : type
 Usage   : $factory->type('Bio::Search::Result::GenericResult');
 Function: Get/Set the Result creation type
 Returns : string
 Args    : [optional] string to set
```
