org.jabber.jabberbeans.Extension
Class IQSearchResult

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.IQSearchResult

public class IQSearchResult
extends XMLData
implements QueryExtension

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

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $
See Also:
Serialized Form

Field Summary
private  java.util.Vector searchResults
          Vector of SearchResult items
 
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, registerNatives, wait, wait, wait
 

Field Detail

searchResults

private java.util.Vector searchResults
Vector of SearchResult items
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.
Overrides:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to