XMPP service discovery items.

Instance Variable nodeIdentifier The optional node this info applies to. (type: unicode)
Method __init__ Undocumented
Method __iter__ Iterator over sequence of items in the order added.
Method append Append item to the sequence of items.
Method toElement Generate a DOM representation.
Static Method fromElement Parse a DOM representation into a DiscoItems instance.
Instance Variable _items Sequence of added items. (type: list)
nodeIdentifier =
The optional node this info applies to. (type: unicode)
_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)

Append item to the sequence of items.

ParametersitemItem to be added. (type: DiscoItem)
def toElement(self): (source)

Generate a DOM representation.

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

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

Parse a DOM representation into a DiscoItems instance.

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