Home | Trees | Index | Help |
|
---|
Package pyxmpp :: Package jabber :: Module muccore :: Class MucXBase |
|
object
--+ |StanzaPayloadWrapperObject
--+ | MucXBase
MucOwnerX
,
MucUserX
,
MucX
Base class for MUC-specific stanza payload - wrapper around an XML element. :Ivariables: - `xmlnode`: the wrapped XML node
Method Summary | |
---|---|
Copy MucXBase object or create a new one, possibly based on or wrapping an XML node. | |
__del__(self)
| |
Unlink and free the XML node owned by `self`. | |
Detach the XML node borrowed by `self`. | |
Serialize `self` as XML. | |
Evaluate XPath expression in context of `self.xmlnode`. | |
Inherited from StanzaPayloadWrapperObject | |
Get the XML representation of `self`. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
str |
element = 'x'
|
NoneType |
ns = None |
Method Details |
---|
__init__(self,
xmlnode=None,
copy=True,
parent=None)
|
free(self)Unlink and free the XML node owned by `self`. |
free_borrowed(self)Detach the XML node borrowed by `self`. |
serialize(self)Serialize `self` as XML. :return: serialized `self.xmlnode`. :returntype: `str` |
xpath_eval(self, expr)Evaluate XPath expression in context of `self.xmlnode`. :Parameters: - `expr`: the XPath expression :Types: - `expr`: `unicode` :return: the result of the expression evaluation. :returntype: list of `libxml2.xmlNode` |
Class Variable Details |
---|
element
|
ns
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed May 31 22:36:58 2006 | http://epydoc.sf.net |