Home | Trees | Index | Help |
|
---|
|
object
--+
|
JID
JID.
JID objects are immutable. They are also cached for better performance.
Method Summary | |
---|---|
__cmp__(self,
other)
| |
__eq__(self,
other)
| |
__hash__(self)
| |
__ne__(self,
other)
| |
Create a new JID object or take one from the cache. (Static method) | |
__repr__(self)
| |
__setattr__(self,
name,
value)
| |
__str__(self)
| |
__unicode__(self)
| |
UTF-8 encoded JID representation. | |
Unicode string JID representation. | |
UTF-8 encoded JID representation. | |
Make bare JID made by removing resource from current self . | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
helper for pickle | |
helper for pickle |
Instance Variable Summary | |
---|---|
member_descriptor |
domain : domain part of the JID |
member_descriptor |
node : node part of the JID |
member_descriptor |
resource : resource part of the JID |
Class Variable Summary | |
---|---|
list |
__slots__ = ['node', 'domain', 'resource', '__weakref__'...
|
WeakValueDictionary |
cache = <WeakValueDictionary at 1081863372>
|
Instance Method Details |
---|
as_string(self)UTF-8 encoded JID representation. Deprecated Always use Unicode objects, or
|
as_unicode(self)Unicode string JID representation.
|
as_utf8(self)UTF-8 encoded JID representation.
|
bare(self)Make bare JID made by removing resource from currentself .
|
Static Method Details |
---|
__new__(cls, node_or_jid=None, domain=None, resource=None, check=True)Create a new JID object or take one from the cache.
|
Instance Variable Details |
---|
domaindomain part of the JID
|
nodenode part of the JID
|
resourceresource part of the JID
|
Class Variable Details |
---|
__slots__
|
cache
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:27 2005 | http://epydoc.sf.net |