AbstractParserFactory
paramsan
AbstractParserFactory: A class that is used to construct Parser Objects.
use AbstractParser; use AbstractParserFactory; $qfcParser = AbstractParserFactory->new("QFC"); $allSpecials = $qfcParser->GetSpecials($zipCode);
Perl5.10.0, QFCParser
Nothing
A class that is used to construct Parser Objects. All the objects constructed are guranteed to implement the AbstractParser interface.
None
Construct and return a reference to a new concrete parser that actually implements the parser class.
$storeName A string name representing the storename of which parser is requested. Currently only "QFC" is supported.
A reference to the requested parser.
If the parser with the storeName is not found, this method will die() with the error message "No parser implemented for store '$storeName'"
$qfcParser = AbstractParserFactory->new("QFC");