Query

   
Query javax.xml.registry

JAXR 1.0; JWSDP 1.0, J2EE 1.4
 public interface Query {  // Public Constants  public static final int QUERY_TYPE_EBXML_FILTER_QUERY;  // =2  public static final int QUERY_TYPE_SQL;  // =0  public static final int QUERY_TYPE_XQUERY;  // =1   // Public Instance Methods  public abstract int getType(  ) throws JAXRException;  // L1  public abstract String toString(  );  // L1  } 

The Query interface provides a way to encapsulate a registry query to be handled by a DeclarativeQueryManager . A Query object is created by calling the createQuery( ) method of the DeclarativeQueryManager whose executeQuery( ) method is eventually used to perform the search operation that it specifies. The query manager may choose to return a private object implementing Query that represents the query string in a form that is suitable for the means that are eventually used to action it. The getType( ) methods return the type of query that the Query object represents (such as QUERY_TYPE_SQL ), while toString( ) returns a string representation of the query. DeclarativeQueryManager s are supported only by level 1 providers, but only queries of type QUERY_TYPE_EBXML_FILTER_QUERY are required to be supported.

Passed To

DeclarativeQueryManager.executeQuery( )

Returned By

DeclarativeQueryManager.createQuery( )


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net