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


DesignPattern-Factory documentation  | view source Contained in the DesignPattern-Factory distribution.

Index


DESCRIPTION

Top

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

Top

Nigel Wetters (nwetters@cpan.org)

COPYRIGHT

Top


DesignPattern-Factory documentation  | view source Contained in the DesignPattern-Factory distribution.