StanzaExtensionFactory Class Reference

A Factory that creates StanzaExtensions from Tags. More...

#include <stanzaextensionfactory.h>

List of all members.

Static Public Member Functions

static StanzaExtensioncreate (Tag *tag)

Detailed Description

A Factory that creates StanzaExtensions from Tags.

You should not need to use this class directly.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 35 of file stanzaextensionfactory.h.


Member Function Documentation

StanzaExtension * create ( Tag tag  )  [static]

This function tries to create a valid StanzaExtension (i.e., an object derived from StanzaExtension) from the given Tag.

Parameters:
tag The Tag to parse and create the StanzaExtension from.
Returns:
A StanzaExtension-derived object if the Tag was recognized, or 0.
Note:
To get rif of a StanzaExtension easily, you may use dispose().

Definition at line 28 of file stanzaextensionfactory.cpp.


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

Generated on Mon Dec 7 13:28:34 2009 for gloox by  doxygen 1.6.1