Packageorg.igniterealtime.xiff.data.search
Classpublic class SearchItem
InheritanceSearchItem Inheritance XMLStanza Inheritance ExtensionContainer Inheritance Object
Implements INodeProxy

This class is used by the SearchExtension for internal representation of information pertaining to items matching the search query.



Public Properties
 PropertyDefined By
  email : String
E-mail
SearchItem
  first : String
First
SearchItem
  jid : String
JID
SearchItem
  last : String
Last
SearchItem
  name : String
Name
SearchItem
  nick : String
Nick
SearchItem
  username : String
Username
SearchItem
 Inheritedxml : XML
The XML node that should be used for this stanza's internal XML representation, base of the XMLStanza, XML element.
ExtensionContainer
Public Methods
 MethodDefined By
  
SearchItem(parent:XML = null)
SearchItem
 Inherited
Add extension to the list of the given namespace and insert to the XML element as a child.
ExtensionContainer
 Inherited
ExtensionContainer
 Inherited
getAllExtensionsByNS(nameSpace:String):Array
ExtensionContainer
 Inherited
getAttribute(name:String):String
Convinience method for getting element value from the XML.
XMLStanza
 Inherited
getChildAttribute(elem:String, name:String):String
Convinience method for getting child element attribute value from the XML.
XMLStanza
 Inherited
getChildField(elem:String, name:String):String
Convinience method for getting child element value from the XML.
XMLStanza
 Inherited
getExtension(elementName:String):IExtension
Get the extension having the given element name.
ExtensionContainer
 Inherited
getField(name:String):String
Convinience method for getting element value from the XML.
XMLStanza
 Inherited
removeAllExtensions(nameSpace:String):void
ExtensionContainer
 Inherited
removeExtension(extension:IExtension):Boolean
ExtensionContainer
 Inherited
removeFields(name:String):void
Helper method for removing all child elements that have the given name.
XMLStanza
 Inherited
setAttribute(name:String, value:String):void
Convinience method for setting a value to a element in the XML.
XMLStanza
 Inherited
setChildAttribute(elem:String, name:String, value:String):void
Convinience method for setting an attribute for a child element of the XML.
XMLStanza
 Inherited
setChildField(elem:String, name:String, value:String):void
Convinience method for setting a value for a child element of the XML.
XMLStanza
 Inherited
setField(name:String, value:String):void
Convinience method for setting a value to a element in the XML.
XMLStanza
 Inherited
toString():String
Converts the base stanza XML to a string.
XMLStanza
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NS : Namespace
[static] Default XML namespace.
XMLStanza
  ELEMENT_NAME : String = item
[static]
SearchItem
 InheritedFLASH_NS : Namespace
[static]
XMLStanza
 InheritedSTREAM_NS : Namespace
[static]
XMLStanza
Property Detail
emailproperty
email:String

E-mail


Implementation
    public function get email():String
    public function set email(value:String):void
firstproperty 
first:String

First


Implementation
    public function get first():String
    public function set first(value:String):void
jidproperty 
jid:String

JID


Implementation
    public function get jid():String
    public function set jid(value:String):void
lastproperty 
last:String

Last


Implementation
    public function get last():String
    public function set last(value:String):void
nameproperty 
name:String

Name


Implementation
    public function get name():String
    public function set name(value:String):void
nickproperty 
nick:String

Nick


Implementation
    public function get nick():String
    public function set nick(value:String):void
usernameproperty 
username:String

Username


Implementation
    public function get username():String
    public function set username(value:String):void
Constructor Detail
SearchItem()Constructor
public function SearchItem(parent:XML = null)

Parameters
parent:XML (default = null)
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = item