Packageorg.igniterealtime.xiff.data.disco
Classpublic class DiscoExtension
InheritanceDiscoExtension Inheritance Extension Inheritance XMLStanza Inheritance ExtensionContainer
ImplementsISerializable
SubclassesInfoDiscoExtension, ItemDiscoExtension

Base class for service discovery extensions.

See also

http://xmpp.org/protocols/disco/


Public Properties
 PropertyDefined by
 Inherited_exts : Object
ExtensionContainer
  _service : EscapedJID
DiscoExtension
  service : EscapedJID
The service name of the discovery procedure
DiscoExtension
  serviceNode : String
DiscoExtension
 InheritedXMLData : XML
[static]
XMLStanza
 InheritedXMLFactory : XMLDocument
[static]
XMLStanza
Public Methods
 MethodDefined by
  
DiscoExtension(xmlNode:XMLNode)
The name of the resource of the service queried if the resource doesn't have a JID.
DiscoExtension
 Inherited
ExtensionContainer
 Inherited
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
XMLStanza
  
deserialize(node:XMLNode):Boolean
DiscoExtension
 Inherited
ensureNode(node:XMLNode, elementName:String):XMLNode
Ensures that a node with a specific element name exists in the stanza.
XMLStanza
 Inherited
exists(value:*):Boolean
[static] A helper method to determine if a value is both not null and not undefined.
XMLStanza
 Inherited
ExtensionContainer
 Inherited
getAllExtensionsByNS(ns:String):Array
ExtensionContainer
 Inherited
getExtension(name:String):Extension
ExtensionContainer
 Inherited
getNode():XMLNode
XMLStanza
 Inherited
remove():void
Removes the extension from its parent.
Extension
 Inherited
removeAllExtensions(ns:String):void
ExtensionContainer
 Inherited
ExtensionContainer
 Inherited
replaceTextNode(parent:XMLNode, original:XMLNode, elementName:String, value:String):XMLNode
Replaces one node in the stanza with another simple text node.
XMLStanza
  
serialize(parentNode:XMLNode):Boolean
DiscoExtension
 Inherited
setNode(node:XMLNode):Boolean
Sets the XML node that should be used for this stanza's internal XML representation.
XMLStanza
 Inherited
toString():String
Converts the extension stanza XML to a string.
Extension
Public Constants
 ConstantDefined by
  ELEMENT_NAME : String = "query"
[static]
DiscoExtension
  NS : String = "http://jabber.org/protocol/disco"
[static]
DiscoExtension
Property detail
_serviceproperty
public var _service:EscapedJID
serviceproperty 
service:EscapedJID  [read-write]

The service name of the discovery procedure

Implementation
    public function get service():EscapedJID
    public function set service(value:EscapedJID):void
serviceNodeproperty 
serviceNode:String  [read-write]Implementation
    public function get serviceNode():String
    public function set serviceNode(value:String):void
Constructor detail
DiscoExtension()constructor
public function DiscoExtension(xmlNode:XMLNode)

The name of the resource of the service queried if the resource doesn't have a JID. For more information, see http://www.jabber.org/registrar/disco-nodes.html.

Parameters
xmlNode:XMLNode
Method detail
deserialize()method
public function deserialize(node:XMLNode):BooleanParameters
node:XMLNode

Returns
Boolean
serialize()method 
public function serialize(parentNode:XMLNode):BooleanParameters
parentNode:XMLNode

Returns
Boolean
Constant detail
ELEMENT_NAMEconstant
public static const ELEMENT_NAME:String = "query"
NSconstant 
public static const NS:String = "http://jabber.org/protocol/disco"