Package | org.igniterealtime.xiff.data.disco |
Class | public class DiscoItem |
Inheritance | DiscoItem ![]() ![]() ![]() |
Implements | INodeProxy |
See also
Property | Defined By | ||
---|---|---|---|
jid : String
Attribute specifying the JID of the item. | DiscoItem | ||
name : String
A natural-language name for the item. | DiscoItem | ||
node : String
The value of the node attribute may or may not have semantic meaning;
from the perspective of Service Discovery, a node is merely
something that is associated with an entity. | DiscoItem | ||
![]() | 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 | ||
---|---|---|---|
DiscoItem(parent:XML = null) | DiscoItem | ||
![]() |
Add extension to the list of the given namespace and insert to the XML element as a child. | ExtensionContainer | |
Does all three properties match the in the given DiscoItem to this one?
| DiscoItem | ||
![]() | 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 | |
![]() | 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 | |
![]() | 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 = item [static] | DiscoItem | ||
![]() | FLASH_NS : Namespace [static]
| XMLStanza | |
![]() | STREAM_NS : Namespace [static]
| XMLStanza |
jid | property |
jid:String
Attribute specifying the JID of the item.
required
public function get jid():String
public function set jid(value:String):void
name | property |
name:String
A natural-language name for the item.
optional
public function get name():String
public function set name(value:String):void
node | property |
node:String
The value of the node attribute may or may not have semantic meaning; from the perspective of Service Discovery, a node is merely something that is associated with an entity.
optional
public function get node():String
public function set node(value:String):void
DiscoItem | () | Constructor |
public function DiscoItem(parent:XML = null)
Parameters
parent:XML (default = null )
|
equals | () | method |
public function equals(other:DiscoItem):Boolean
Does all three properties match the in the given DiscoItem to this one?
Parameters
other:DiscoItem |
Boolean — |
ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = item