org.jabber.jabberbeans.Extension
Class IQSearchRequest

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

public class IQSearchRequest
extends HashExtension
implements QueryExtension

An IQSearchRequest lets you request the searchable fields for a searchable resource, and also lets you respond back with the items you wish to search for. This code is very similar to jabber:iq:register, and thus shares code with it.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jabber.jabberbeans.Extension.HashExtension
entries
 
Constructor Summary
IQSearchRequest(IQSearchRequestBuilder builder)
          Construct a new IQSearchRequest based on an IQSearchRequestBuilder
 
Method Summary
protected  java.lang.String getXMLNS()
          Used to fetch the internal XMLNS, which is used by AppendItem and toString to return the proper XML representation.
 
Methods inherited from class org.jabber.jabberbeans.Extension.HashExtension
appendItem, 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
appendItem, toString
 

Constructor Detail

IQSearchRequest

public IQSearchRequest(IQSearchRequestBuilder builder)
                throws java.lang.InstantiationException
Construct a new IQSearchRequest based on an IQSearchRequestBuilder

Parameters:
builder - IQSearchRequestBuilder which this object will be based
Method Detail

getXMLNS

protected java.lang.String getXMLNS()
Used to fetch the internal XMLNS, which is used by AppendItem and toString to return the proper XML representation.

Specified by:
getXMLNS in class HashExtension
Returns:
String holding the XML namespace