| Package | org.igniterealtime.xiff.data |
| Class | public class ExtensionContainer |
| Inheritance | ExtensionContainer Object |
| Implements | IExtendable |
| Subclasses | XMLStanza |
| Property | Defined By | ||
|---|---|---|---|
| xml : XML
The XML node that should be used for this stanza's internal XML representation,
base of the XMLStanza, XML element. | ExtensionContainer | ||
| Method | Defined By | ||
|---|---|---|---|
| ExtensionContainer | |||
Add extension to the list of the given namespace and insert to the XML element as a child. | ExtensionContainer | ||
getAllExtensions():Array | ExtensionContainer | ||
getAllExtensionsByNS(nameSpace:String):Array | ExtensionContainer | ||
getExtension(elementName:String):IExtension
Get the extension having the given element name. | ExtensionContainer | ||
removeAllExtensions(nameSpace:String):void | ExtensionContainer | ||
removeExtension(extension:IExtension):Boolean | ExtensionContainer | ||
| xml | property |
xml:XMLThe XML node that should be used for this stanza's internal XML representation, base of the XMLStanza, XML element.
Simply by setting this will take care of the required parsing and deserialisation.
public function get xml():XML public function set xml(value:XML):voidSee also
| ExtensionContainer | () | Constructor |
public function ExtensionContainer()
| addExtension | () | method |
public function addExtension(extension:IExtension):IExtensionAdd extension to the list of the given namespace and insert to the XML element as a child.
Parameters
extension:IExtension |
IExtension — The same IExtension that was passed via the parameter
|
| getAllExtensions | () | method |
public function getAllExtensions():ArrayReturns
Array — |
| getAllExtensionsByNS | () | method |
public function getAllExtensionsByNS(nameSpace:String):Array
Parameters
nameSpace:String |
Array — |
| getExtension | () | method |
public function getExtension(elementName:String):IExtensionGet the extension having the given element name. Unfortunetly only takes the oldest of the list...
Parameters
elementName:String |
IExtension — |
See also
| removeAllExtensions | () | method |
public function removeAllExtensions(nameSpace:String):void
Parameters
nameSpace:String |
| removeExtension | () | method |
public function removeExtension(extension:IExtension):Boolean
Parameters
extension:IExtension |
Boolean — |