org.jivesoftware.xiff.data.disco
class ItemDiscoExtension
Object
|
+--org.jivesoftware.xiff.data.XMLStanza
|
+--org.jivesoftware.xiff.data.Extension
|
+--org.jivesoftware.xiff.data.disco.DiscoExtension
|
+--org.jivesoftware.xiff.data.disco.ItemDiscoExtension
Implemented Interfaces: IExtensionclass ItemDiscoExtension extends DiscoExtension
Implements JEP-0030 for service item discovery.
- Author:Sean Treadway
- Since:2.0.0
Fields inherited from class org.jivesoftware.xiff.data.disco.DiscoExtension
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza
Property Summary
An array of objects that represent the items discovered The objects in the array have the following possible attributes:
jid
- the resource namenode
- a path to a resource that can be discovered without a JIDname
- the friendly name of the jidaction
- 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
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
Performs the registration of this extension into the extension registry.
Methods inherited from class org.jivesoftware.xiff.data.disco.DiscoExtension
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza
Field Documentation
Property Documentation
items
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 namenode
- a path to a resource that can be discovered without a JIDname
- the friendly name of the jidaction
- the kind of action that occurs during publication of services it can be either "remove" or "update"
Method Documentation
deserialize
public function deserialize (
node: XMLNode): Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
- Overrides:DiscoExtension.deserialize in class DiscoExtension
- Parameters:
node (XMLNode) The node that should be used as the data container.
enable
public static function enable (
): Void
Performs the registration of this extension into the extension registry.
getElementName
public function getElementName (
): String
- Specified by:getElementName in interface org.jivesoftware.xiff.data.IExtension
getNS
public function getNS (
): String
- Specified by:getNS in interface org.jivesoftware.xiff.data.IExtension
- ItemDiscoExtension.as, Last Modified: 3/10/2005 10:09:58 PM