This is the concrete factory for XML reader built on top of Xerces-C++ parser.  
 More...
#include <ReaderFactory.h>
 | 
| std::string  | m_factoryKey | 
|   | The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More...
  | 
|   | 
This is the concrete factory for XML reader built on top of Xerces-C++ parser. 
- See also
 - te::xml::ReaderFactory 
 
Definition at line 47 of file ReaderFactory.h.
 
◆ dictionary_type
◆ factory_type
◆ ~ReaderFactory()
  
  
      
        
          | te::xerces::ReaderFactory::~ReaderFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual destructor. 
- Note
 - It will automatically unregister the factory from the dictionary. 
 
Reimplemented from te::xml::ReaderFactory.
 
 
◆ ReaderFactory()
  
  
      
        
          | te::xerces::ReaderFactory::ReaderFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ build()
◆ finalize()
  
  
      
        
          | static void te::xerces::ReaderFactory::finalize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
It finalizes the factory: it will be destroyed and will be unregistered from the abstract factory ReaderFactory. 
 
 
◆ find()
◆ getDictionary()
It returns a reference to the internal dictionary of concrete factories. 
The dictionary is a singleton.
- Returns
 - A reference to the internal dictionary. 
 
Definition at line 106 of file AbstractFactory.h.
 
 
◆ getKey()
It returns the factory key associated to the concreate factory. 
- Returns
 - The factory key associated to the concreate factory. 
 
Definition at line 84 of file AbstractFactory.h.
 
 
◆ initialize()
  
  
      
        
          | static void te::xerces::ReaderFactory::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
It initializes the factory: it will be registered in the abstract factory ReaderFactory. 
 
 
◆ make() [1/3]
It creates a new XML reader using the dafault implementation. 
- Returns
 - A new XML reader using the dafault implementation. 
 
 
 
◆ make() [2/3]
It creates an object with the appropriated factory. 
- Parameters
 - 
  
    | factoryKey | A key that identifies the factory used to build the object. | 
  
   
- Returns
 - It returns a new object created by the given factory.
 
- Exceptions
 - 
  
    | Exception | If the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception. | 
  
   
- Note
 - The caller of this method will take the ownership of the returned object. 
 
Definition at line 97 of file AbstractFactory.h.
 
 
◆ make() [3/3]
  
  
      
        
          | static te::xml::Reader* te::xml::ReaderFactory::make  | 
          ( | 
          const std::string &  | 
          readerType | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
It creates a new XML reader. 
- Parameters
 - 
  
    | readerType | The type of XML reader to be created. | 
  
   
- Returns
 - A new XML reader. 
 
 
 
◆ setDefaultReader()
  
  
      
        
          | static void te::xml::ReaderFactory::setDefaultReader  | 
          ( | 
          const std::string &  | 
          readerType | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
It sets the default driver used to create the XML reader objects. 
- Parameters
 - 
  
    | readerType | The default driver name for creating XML reader objects.  | 
  
   
 
 
◆ Module
◆ m_factoryKey
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. 
Definition at line 136 of file AbstractFactory.h.
 
 
◆ sm_defaultReaderType
  
  
      
        
          | std::string te::xml::ReaderFactory::sm_defaultReaderType | 
         
       
   | 
  
staticprivateinherited   | 
  
 
The type of the reader to be created if no type is informed. 
Definition at line 108 of file ReaderFactory.h.
 
 
◆ sm_factory
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/xerces/ReaderFactory.h