NAME

DesignPattern::Factory::Product - a participant in the Perl implementation of the Factory Method.

DESCRIPTION

DesignPattern::Factory::Product is the superclass of DesignPattern::Factory::ConcreteProduct. That is, ConcreteProduct inherits all methods from Product, but can override these methods by implementing its own methods.

DesignPattern::Factory::Product defines the interface of objects the factory method creates.

new()

Constructor for this class. Usage:

my $object = DesignPattern::Factory::Product->new();

AUTHOR

Nigel Wetters (nwetters@cpan.org)

COPYRIGHT

Copyright (c) 2001, Nigel Wetters. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.