com.sun.xml.registry.ebxml
Class QueryImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.QueryImpl
All Implemented Interfaces:
javax.xml.registry.Query

public class QueryImpl
extends java.lang.Object
implements javax.xml.registry.Query

Class Declaration for Class1


Field Summary
 
Fields inherited from interface javax.xml.registry.Query
QUERY_TYPE_EBXML_FILTER_QUERY, QUERY_TYPE_SQL, QUERY_TYPE_XQUERY
 
Method Summary
 int getType()
          Gets the type of Query (e.g.
 java.lang.String toString()
          Must print the String representing the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public int getType()
            throws javax.xml.registry.JAXRException
Gets the type of Query (e.g. QUERY_TYPE_SQL)

Capability Level: 1

Specified by:
getType in interface javax.xml.registry.Query
Returns:
the type of query
Throws:
javax.xml.registry.JAXRException
See Also:
Query.QUERY_TYPE_SQL, Query.QUERY_TYPE_XQUERY

toString

public java.lang.String toString()
Must print the String representing the query. For example in case of SQL query prints the SQL query as a string.

Capability Level: 1

Specified by:
toString in interface javax.xml.registry.Query


Copyright © 2001-2004 OASIS. All Rights Reserved.