| Package | org.igniterealtime.xiff.data.disco |
| Class | public class ItemDiscoExtension |
| Inheritance | ItemDiscoExtension DiscoExtension Extension XMLStanza ExtensionContainer Object |
| Implements | IExtension |
See also
| Property | Defined By | ||
|---|---|---|---|
| items : Array
An array of DiscoItems that represent the items discovered. | ItemDiscoExtension | ||
![]() | node : String | DiscoExtension | |
![]() | xml : XML [override]
Override in order to take care of setting the Namespace and
checking for containing extensions. | Extension | |
| Method | Defined By | ||
|---|---|---|---|
ItemDiscoExtension(parent:XML = null) | ItemDiscoExtension | ||
![]() |
Add extension to the list of the given namespace and insert to the XML element as a child. | ExtensionContainer | |
| ItemDiscoExtension | |||
![]() | getAllExtensions():Array | ExtensionContainer | |
![]() | getAllExtensionsByNS(nameSpace:String):Array | ExtensionContainer | |
![]() | getAttribute(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
![]() | getChildAttribute(elem:String, name:String):String
Convinience method for getting child element attribute value from the XML. | XMLStanza | |
![]() | getChildField(elem:String, name:String):String
Convinience method for getting child element value from the XML. | XMLStanza | |
getElementName():String | ItemDiscoExtension | ||
![]() | getExtension(elementName:String):IExtension
Get the extension having the given element name. | ExtensionContainer | |
![]() | getField(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
getNS():String | ItemDiscoExtension | ||
![]() | remove():void
Removes the extension from its parent. | Extension | |
![]() | removeAllExtensions(nameSpace:String):void | ExtensionContainer | |
![]() | removeExtension(extension:IExtension):Boolean | ExtensionContainer | |
![]() | removeFields(name:String):void
Helper method for removing all child elements that have the given name. | XMLStanza | |
![]() | setAttribute(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | setChildAttribute(elem:String, name:String, value:String):void
Convinience method for setting an attribute for a child element of the XML. | XMLStanza | |
![]() | setChildField(elem:String, name:String, value:String):void
Convinience method for setting a value for a child element of the XML. | XMLStanza | |
![]() | setField(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | toString():String
Converts the base stanza XML to a string. | XMLStanza | |
| Constant | Defined By | ||
|---|---|---|---|
![]() | DEFAULT_NS : Namespace [static]
Default XML namespace. | XMLStanza | |
![]() | ELEMENT_NAME : String = query [static] | DiscoExtension | |
![]() | FLASH_NS : Namespace [static]
| XMLStanza | |
| NS : String = http://jabber.org/protocol/disco#items [static] | ItemDiscoExtension | ||
![]() | STREAM_NS : Namespace [static]
| XMLStanza | |
| items | property |
items:ArrayAn array of DiscoItems that represent the items discovered.
public function get items():Array public function set items(value:Array):voidSee also
| ItemDiscoExtension | () | Constructor |
public function ItemDiscoExtension(parent:XML = null)Parameters
parent:XML (default = null) |
| addItem | () | method |
| getElementName | () | method |
public function getElementName():StringReturnsString |
| getNS | () | method |
public function getNS():StringReturnsString |
| NS | Constant |
public static const NS:String = http://jabber.org/protocol/disco#items