Packageorg.igniterealtime.xiff.data.bind
Classpublic class BindExtension
InheritanceBindExtension Inheritance Extension Inheritance XMLStanza Inheritance ExtensionContainer
ImplementsIExtension

See also

http://xmpp.org/extensions/xep-0193.html


Public Properties
 PropertyDefined by
 Inherited_exts : Object
ExtensionContainer
  jid : EscapedJID
[read-only]
BindExtension
  resource : String
BindExtension
 InheritedXMLData : XML
[static]
XMLStanza
 InheritedXMLFactory : XMLDocument
[static]
XMLStanza
Public Methods
 MethodDefined by
  
BindExtension(parent:XMLNode = null)
BindExtension
 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
BindExtension
  
enable():void
[static] Registers this extension with the extension registry.
BindExtension
 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
  
getElementName():String
BindExtension
 Inherited
getExtension(name:String):Extension
ExtensionContainer
 Inherited
getNode():XMLNode
XMLStanza
  
getNS():String
BindExtension
 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(parent:XMLNode):Boolean
BindExtension
 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 = "bind"
[static]
BindExtension
  NS : String = "urn:ietf:params:xml:ns:xmpp-bind"
[static]
BindExtension
Property detail
jidproperty
jid:EscapedJID  [read-only]Implementation
    public function get jid():EscapedJID
resourceproperty 
resource:String  [read-write]Implementation
    public function get resource():String
    public function set resource(value:String):void
Constructor detail
BindExtension()constructor
public function BindExtension(parent:XMLNode = null)Parameters
parent:XMLNode (default = null)
Method detail
deserialize()method
public function deserialize(node:XMLNode):BooleanParameters
node:XMLNode

Returns
Boolean
enable()method 
public static function enable():void

Registers this extension with the extension registry.

getElementName()method 
public function getElementName():String

Returns
String
getNS()method 
public function getNS():String

Returns
String
serialize()method 
public function serialize(parent:XMLNode):BooleanParameters
parent:XMLNode

Returns
Boolean
Constant detail
ELEMENT_NAMEconstant
public static const ELEMENT_NAME:String = "bind"
NSconstant 
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-bind"