XMPP service discovery item.

Instance Variable entity The entity holding the item. (type: jid.JID)
Instance Variable nodeIdentifier The optional node identifier for the item. (type: unicode)
Instance Variable name The optional natural language name for this entity. (type: unicode)
Method __init__ Undocumented
Method toElement Generate a DOM representation.
Static Method fromElement Parse a DOM representation into a DiscoItem instance.
entity =
The entity holding the item. (type: jid.JID)
nodeIdentifier =
The optional node identifier for the item. (type: unicode)
name =
The optional natural language name for this entity. (type: unicode)
def __init__(self, entity, nodeIdentifier='', name=None): (source)
Undocumented
def toElement(self): (source)

Generate a DOM representation.

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

Parse a DOM representation into a DiscoItem instance.

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