org.jabber.jabberbeans.Extension
Class SearchResult

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

public class SearchResult
extends HashExtension

A SearchResult represents one item in a search result.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jabber.jabberbeans.Extension.HashExtension
entries
 
Constructor Summary
SearchResult(SearchResultBuilder builder)
          Creates a new SearchResult instance.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
protected  java.lang.String getXMLNS()
          get the XML namespace for parent toString to work - we don't use the parent toString, so we just return null.
 
Methods inherited from class org.jabber.jabberbeans.Extension.HashExtension
getNames, getValue
 
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

SearchResult

public SearchResult(SearchResultBuilder builder)
             throws java.lang.InstantiationException
Creates a new SearchResult instance.

Method Detail

getXMLNS

protected java.lang.String getXMLNS()
get the XML namespace for parent toString to work - we don't use the parent toString, so we just return null.

Specified by:
getXMLNS in class HashExtension

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
Overrides:
appendItem in class HashExtension
Parameters:
retval - The StringBuffer to append to