Packageorg.igniterealtime.xiff.data
Classpublic class AbstractExtension
InheritanceAbstractExtension Inheritance Extension Inheritance XMLStanza Inheritance ExtensionContainer
ImplementsISerializable



Public Properties
 PropertyDefined by
 Inherited_exts : Object
ExtensionContainer
 InheritedXMLData : XML
[static]
XMLStanza
 InheritedXMLFactory : XMLDocument
[static]
XMLStanza
Public Methods
 MethodDefined by
  
AbstractExtension(parent:XMLNode = null)
AbstractExtension
 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
AbstractExtension
 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
AbstractExtension
 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
Constructor detail
AbstractExtension()constructor
public function AbstractExtension(parent:XMLNode = null)Parameters
parent:XMLNode (default = null)
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