org.jabber.jabberbeans.Extension
Class IQSearchResult

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.IQSearchResult
All Implemented Interfaces:
Extension, QueryExtension, java.io.Serializable

public class IQSearchResult
extends XMLData
implements QueryExtension

An IQSearchResult holds a vector of SearchResult items, representing individual records resulting from a search.

See Also:
Serialized Form

Constructor Summary
IQSearchResult(java.util.Vector items)
          Construct a new SearchResult based on a vector of SearchResult items
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.util.Enumeration items()
          Enumerate the SearchResults in this extension
 
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension
toString
 

Constructor Detail

IQSearchResult

public IQSearchResult(java.util.Vector items)
Construct a new SearchResult based on a vector of SearchResult items

Parameters:
items - SearchResult Vector
Method Detail

items

public java.util.Enumeration items()
Enumerate the SearchResults in this extension

Returns:
Enumeration of SearchResult items

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.

Specified by:
appendItem in interface Extension
Specified by:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to