Packageorg.igniterealtime.xiff.data.session
Classpublic class SessionExtension
InheritanceSessionExtension Inheritance Extension Inheritance XMLStanza Inheritance ExtensionContainer
ImplementsIExtension

See also

http://tools.ietf.org/html/rfc3921#section-3


Public Properties
 PropertyDefined by
 Inherited_exts : Object
ExtensionContainer
 InheritedXMLData : XML
[static]
XMLStanza
 InheritedXMLFactory : XMLDocument
[static]
XMLStanza
Public Methods
 MethodDefined by
  
SessionExtension(parent:XMLNode = null)
SessionExtension
 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
SessionExtension
  
enable():void
[static] Registers this extension with the extension registry.
SessionExtension
 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
SessionExtension
 Inherited
getExtension(name:String):Extension
ExtensionContainer
  
getJID():String
SessionExtension
 Inherited
getNode():XMLNode
XMLStanza
  
getNS():String
SessionExtension
 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
SessionExtension
 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 = "session"
[static]
SessionExtension
  NS : String = "urn:ietf:params:xml:ns:xmpp-session"
[static]
SessionExtension
Constructor detail
SessionExtension()constructor
public function SessionExtension(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
getJID()method 
public function getJID():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 = "session"
NSconstant 
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-session"