All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.gazebo.protocol.Search

java.lang.Object
   |
   +----ncsa.gazebo.protocol.Request
           |
           +----ncsa.gazebo.protocol.Search

public class Search
extends Request
A SEARCH request, containing a Query. Has accessors for record type, content type, record count, and DBs.

See Also:
Query

Constructor Index

 o Search(Query)
Create a new search for a given Query.

Method Index

 o setQuery(Query)
Set the Query.
 o toXML()
Return this SEARCH request as XML

Constructors

 o Search
 public Search(Query q)
Create a new search for a given Query.

Parameters:
q - the Query

Methods

 o setQuery
 public void setQuery(Query q)
Set the Query.

Parameters:
q - the Query
 o toXML
 public String toXML()
Return this SEARCH request as XML

Returns:
the XML string
Overrides:
toXML in class Request

All Packages  Class Hierarchy  This Package  Previous  Next  Index