A subscription to a node.

Instance Variable nodeIdentifier The identifier of the node subscribed to. The root node is denoted by None. (type: unicode)
Instance Variable subscriber The subscribing entity. (type: jid.JID)
Instance Variable state The subscription state. One of 'subscribed', 'pending', 'unconfigured'. (type: unicode)
Instance Variable options Optional list of subscription options. (type: dict)
Instance Variable subscriptionIdentifier Optional subscription identifier. (type: unicode)
Method __init__ Undocumented
Static Method fromElement Undocumented
Method toElement Return the DOM representation of this subscription.
nodeIdentifier =
The identifier of the node subscribed to. The root node is denoted by None. (type: unicode)
subscriber =
The subscribing entity. (type: jid.JID)
state =
The subscription state. One of 'subscribed', 'pending', 'unconfigured'. (type: unicode)
options =
Optional list of subscription options. (type: dict)
subscriptionIdentifier =
Optional subscription identifier. (type: unicode)
def __init__(self, nodeIdentifier, subscriber, state, options=None, subscriptionIdentifier=None): (source)
Undocumented
@staticmethod
def fromElement(element): (source)
Undocumented
def toElement(self, defaultUri=None): (source)

Return the DOM representation of this subscription.

Returns (type: domish.Element)
API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.