Package | org.igniterealtime.xiff.data.browse |
Class | public class BrowseItem |
Inheritance | BrowseItem ![]() ![]() |
Implements | ISerializable |
Subclasses | BrowseExtension |
Property | Defined by | ||
---|---|---|---|
category : String
One of the categories from the list above, or a
non-standard category prefixed with the string "x-".
| BrowseItem | ||
![]() | _exts : Object | ExtensionContainer | |
jid : String
The full JabberID of the entity described
| BrowseItem | ||
name : String
A friendly name that may be used in a user interface
| BrowseItem | ||
namespaces : Array [read-only]
On top of the browsing framework, a simple form of "feature
advertisement" can be built.
| BrowseItem | ||
type : String
One of the official types from the specified category,
or a non-standard type prefixed with the string "x-".
| BrowseItem | ||
version : String
A string containing the version of the node, equivalent
to the response provided to a query in the 'jabber:iq:version'
namespace.
| BrowseItem | ||
![]() | XMLData : XML [static]
| XMLStanza | |
![]() | XMLFactory : XMLDocument [static]
| XMLStanza |
Method | Defined by | ||
---|---|---|---|
BrowseItem(parent:XMLNode)
| BrowseItem | ||
![]() | ExtensionContainer | ||
addNamespace(value:String):XMLNode
Add new features that are supported if you are responding to a
browse request
| BrowseItem | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
deserialize(node:XMLNode):Boolean
| BrowseItem | ||
![]() |
ensureNode(node:XMLNode, elementName:String):XMLNode
Ensures that a node with a specific element name exists in the stanza.
| XMLStanza | |
![]() |
exists(value:*):Boolean
[static]
A helper method to determine if a value is both not null
and not undefined.
| XMLStanza | |
![]() |
getAllExtensions():Array
| ExtensionContainer | |
![]() |
getAllExtensionsByNS(ns:String):Array
| ExtensionContainer | |
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
![]() |
removeAllExtensions(ns:String):void
| ExtensionContainer | |
![]() |
removeExtension(ext:IExtension):Boolean
| ExtensionContainer | |
![]() |
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
| BrowseItem | ||
![]() |
setNode(node:XMLNode):Boolean
Sets the XML node that should be used for this stanza's internal XML representation.
| XMLStanza |
category | property |
category:String
[read-write]One of the categories from the list above, or a non-standard category prefixed with the string "x-".
Implementation public function get category():String
public function set category(value:String):void
See also
jid | property |
jid:String
[read-write]The full JabberID of the entity described
Implementation public function get jid():String
public function set jid(value:String):void
name | property |
name:String
[read-write]A friendly name that may be used in a user interface
Implementation public function get name():String
public function set name(value:String):void
namespaces | property |
namespaces:Array
[read-only]
On top of the browsing framework, a simple form of "feature
advertisement" can be built. This enables any entity to advertise
whichfeatures it supports, based on the namespaces associated with
those features. The
The children of a browse result may proactively contain a few
public function get namespaces():Array
type | property |
type:String
[read-write]One of the official types from the specified category, or a non-standard type prefixed with the string "x-".
Implementation public function get type():String
public function set type(value:String):void
See also
version | property |
version:String
[read-write]A string containing the version of the node, equivalent to the response provided to a query in the 'jabber:iq:version' namespace. This is useful for servers, especially for lists of services (see the 'service/serverlist' category/type above).
Implementation public function get version():String
public function set version(value:String):void
BrowseItem | () | constructor |
public function BrowseItem(parent:XMLNode)
Parameters
parent:XMLNode |
addNamespace | () | method |
public function addNamespace(value:String):XMLNode
Add new features that are supported if you are responding to a browse request
Parametersvalue:String |
XMLNode |
deserialize | () | method |
public function deserialize(node:XMLNode):Boolean
Parameters
node:XMLNode |
Boolean |
serialize | () | method |
public function serialize(parentNode:XMLNode):Boolean
Parameters
parentNode:XMLNode |
Boolean |