Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

XHtmlIM Class Reference

This is a wrapper of an XHTML-IM (XEP-0071) message body. More...

#include <xhtmlim.h>

Inherits StanzaExtension.

Inheritance diagram for XHtmlIM:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 XHtmlIM (const Tag *xhtml=0)
virtual ~XHtmlIM ()
const Tagxhtml () const
virtual const std::string & filterString () const
virtual StanzaExtensionnewInstance (const Tag *tag) const
virtual Tagtag () const
virtual StanzaExtensionclone () const

Detailed Description

This is a wrapper of an XHTML-IM (XEP-0071) message body.

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

Definition at line 34 of file xhtmlim.h.


Constructor & Destructor Documentation

XHtmlIM const Tag xhtml = 0  ) 
 

Constructs a new object with the given resource string.

Parameters:
xhtml XHTML to include.

Definition at line 21 of file xhtmlim.cpp.

~XHtmlIM  )  [virtual]
 

Virtual Destructor.

Definition at line 33 of file xhtmlim.cpp.


Member Function Documentation

StanzaExtension * clone  )  const [virtual]
 

Returns an identical copy of the current StanzaExtension.

Returns:
An identical copy of the current StanzaExtension.

Implements StanzaExtension.

Definition at line 49 of file xhtmlim.cpp.

const std::string & filterString  )  const [virtual]
 

Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.

Returns:
The extension's filter string.

Implements StanzaExtension.

Definition at line 38 of file xhtmlim.cpp.

virtual StanzaExtension* newInstance const Tag tag  )  const [inline, virtual]
 

Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:

 StanzaExtension* FooExtension::newInstance( const Tag* tag ) const
 {
   return new FooExtension( tag );
 }
Returns:
The derived extension's new instance.

Implements StanzaExtension.

Definition at line 60 of file xhtmlim.h.

Tag * tag  )  const [virtual]
 

Returns a Tag representation of the extension.

Returns:
A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 44 of file xhtmlim.cpp.

const Tag* xhtml  )  const [inline]
 

Returns a pointer to the internally stored XHTML, as opposed to tag(), which returns a copy (which you need to delete manually).

Returns:
A pointer to the XHTML. Do not delete this Tag.

Definition at line 54 of file xhtmlim.h.


The documentation for this class was generated from the following files:
Generated on Sat Oct 31 19:54:42 2009 for gloox by  doxygen 1.4.1