org.jivesoftware.xiff.data.disco

class ItemDiscoExtension

Implemented Interfaces: IExtension

class ItemDiscoExtension extends DiscoExtension

Field Summary

public static NS: String
Static class variables to be overridden in subclasses;
Fields inherited from class org.jivesoftware.xiff.data.disco.DiscoExtension
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza

Property Summary

public items: Array (read-only)
An array of objects that represent the items discovered The objects in the array have the following possible attributes:
  • jid - the resource name
  • node - a path to a resource that can be discovered without a JID
  • name - the friendly name of the jid
  • action - the kind of action that occurs during publication of services it can be either "remove" or "update"
Properties inherited from class org.jivesoftware.xiff.data.disco.DiscoExtension

Method Summary

public deserialize ( node: XMLNode ): Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
public static enable ( ): Void
Performs the registration of this extension into the extension registry.
public getElementName ( ): String
public getNS ( ): String
Methods inherited from class org.jivesoftware.xiff.data.disco.DiscoExtension
Methods inherited from class org.jivesoftware.xiff.data.Extension
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza