This is the concrete factory for XML writer built on top of Xerces-C++ parser.
More...
#include <WriterFactory.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 writer built on top of Xerces-C++ parser.
- See also
- te::xml::AbstractWriter, te::xml::AbstractWriterFactory
Definition at line 47 of file WriterFactory.h.
◆ dictionary_type
◆ factory_type
◆ ~WriterFactory()
te::xerces::WriterFactory::~WriterFactory |
( |
| ) |
|
◆ WriterFactory()
te::xerces::WriterFactory::WriterFactory |
( |
| ) |
|
|
protected |
◆ build()
◆ finalize()
static void te::xerces::WriterFactory::finalize |
( |
| ) |
|
|
static |
It finalizes the factory: it will be destroyed and will be unregistered from the abstract factory WriterFactory.
◆ 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::WriterFactory::initialize |
( |
| ) |
|
|
static |
It initializes the factory: it will be registered in the abstract factory WriterFactory.
◆ make() [1/2]
It creates a new XML writer using the dafault implementation.
- Returns
- A new XML writer using the dafault implementation.
◆ make() [2/2]
It creates a new XML writer.
- Parameters
-
writerType | The type of XML writer to be created. |
- Returns
- A new XML writer.
◆ setDefaultWriter()
static void te::xml::AbstractWriterFactory::setDefaultWriter |
( |
const std::string & |
writerType | ) |
|
|
staticinherited |
It sets the default driver used to create the XML writer objects.
- Parameters
-
writerType | The default driver name for creating XML writer 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_defaultWriterType
std::string te::xml::AbstractWriterFactory::sm_defaultWriterType |
|
staticprivateinherited |
◆ sm_factory
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/xerces/WriterFactory.h