ExtractorFactory Class Reference

#include <ExtractorFactory.h>

Inheritance diagram for ExtractorFactory:
[legend]
Collaboration diagram for ExtractorFactory:
[legend]

List of all members.

Public Member Functions

ExtractorbuildExtractor (const char *method) const


Member Function Documentation

Extractor * ExtractorFactory::buildExtractor ( const char *  method  )  const [virtual]

Implements AbstractExtractorFactory.

00023 {
00024         if(method)
00025         {
00026                 //if(strcmp(method, "GET") == 0)
00027                 //{
00028                         return new GETExtractor();
00029 
00030                 //}
00031                 //else if(strcmp(method, "POST") == 0)
00032                 //{
00033                 //        return (new POSTExtractor(new ParserFactory()));
00034                 //}
00035                 //else if(strcmp(method, "") == 0)
00036                 //{
00037                 //        return new CommandLineExtractor();
00038                 //}
00039         //}
00040        // else
00041         //{
00042         //        return new CommandLineExtractor();
00043         }
00044        // return new UnknownExtractor();
00045        return new GETExtractor();
00046 }


The documentation for this class was generated from the following files:

Generated on Wed Dec 23 14:15:05 2009 for CPPFrame by  doxygen 1.5.8