Home | Trees | Indices | Help |
|
---|
|
object --+ | StanzaPayloadObject
Base class for objects that may be used as XMPP stanza payload and don't keep internal XML representation, only parsed values.
Provides as_xml method. Derived classes must override xml_element_name and xml_element_namespace class attributes and the complete_xml_element method.
Please note that not all classes derived from StanzaPayloadObject should be used directly as stanza payload. Some of them are parts of higher level objects.
|
|||
libxml2.xmlNode or libxml2.xmlDoc
|
|
||
|
|||
Inherited from |
|
|||
: unicode
|
xml_element_name = None : name for the XML element provided by the class. |
||
: unicode
|
xml_element_namespace = None : namespace URI for the XML element provided by the class. |
|
|||
Inherited from |
|
Get the XML representation of New document will be created if no
|
Complete the XML node with Should be overriden in classes derived from StanzaPayloadObject.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 8 13:35:03 2011 | http://epydoc.sourceforge.net |