XMPP service discovery info.

Instance Variable nodeIdentifier The optional node this info applies to. (type: unicode)
Instance Variable features Features as DiscoFeature. (type: set)
Instance Variable identities Identities as a mapping from (category, type) to name, all unicode. (type: dict)
Instance Variable extensions Service discovery extensions as a mapping from the extension form's FORM_TYPE (unicode) to data_form.Form. Forms with no FORM_TYPE field are mapped as None. Note that multiple forms with the same FORM_TYPE have the last in sequence prevail. (type: dict)
Method __init__ Undocumented
Method __iter__ Iterator over sequence of items in the order added.
Method append Add a piece of service discovery info.
Method toElement Generate a DOM representation.
Static Method fromElement Parse a DOM representation into a DiscoInfo instance.
Instance Variable _items Sequence of added items. (type: list)
nodeIdentifier =
The optional node this info applies to. (type: unicode)
features =
Features as DiscoFeature. (type: set)
identities =
Identities as a mapping from (category, type) to name, all unicode. (type: dict)
extensions =
Service discovery extensions as a mapping from the extension form's FORM_TYPE (unicode) to data_form.Form. Forms with no FORM_TYPE field are mapped as None. Note that multiple forms with the same FORM_TYPE have the last in sequence prevail. (type: dict)
_items =
Sequence of added items. (type: list)
def __init__(self): (source)
Undocumented
def __iter__(self): (source)

Iterator over sequence of items in the order added.

def append(self, item): (source)

Add a piece of service discovery info.

ParametersitemA feature, identity or extension form. (type: DiscoFeature, DiscoIdentity or data_form.Form)
def toElement(self): (source)

Generate a DOM representation.

This takes the items added with append to create a DOM representation of service discovery information.

Returns (type: domish.Element.)
@staticmethod
def fromElement(element): (source)

Parse a DOM representation into a DiscoInfo instance.

ParameterselementElement that represents the disco info. (type: domish.Element. @rtype DiscoInfo.)
API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.