|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry Interface Query
public interface Query
The Query interface encapsulates a query in a declarative query language. Currently a Query can be an SQL query or an ebXML Filter Query only. In future support for other query languages such as XQL query may be added. The query must conform to a fixed schema as defined by the JAXR specification.
- 作者:
- Farrukh S. Najmi
字段摘要 | |
---|---|
static int |
QUERY_TYPE_EBXML_FILTER_QUERY
An OASIS ebXML Registry XML Filter Query type. |
static int |
QUERY_TYPE_SQL
An SQL query type. |
static int |
QUERY_TYPE_XQUERY
A W3C XQuery type. |
方法摘要 | |
---|---|
int |
getType()
Gets the type of Query (for example, QUERY_TYPE_SQL). |
String |
toString()
Returns the String representing the query. |
字段详细信息 |
---|
QUERY_TYPE_SQL
static final int QUERY_TYPE_SQL
- An SQL query type.
- 另请参见:
- 常量字段
QUERY_TYPE_XQUERY
static final int QUERY_TYPE_XQUERY
- A W3C XQuery type.
- 另请参见:
- 常量字段
QUERY_TYPE_EBXML_FILTER_QUERY
static final int QUERY_TYPE_EBXML_FILTER_QUERY
- An OASIS ebXML Registry XML Filter Query type.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getType
int getType() throws JAXRException
- Gets the type of Query (for example, QUERY_TYPE_SQL).
- Capability Level: 1
- 返回:
- the type of query
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
QUERY_TYPE_SQL
,QUERY_TYPE_XQUERY
,QUERY_TYPE_EBXML_FILTER_QUERY
toString
String toString()
- Returns the String representing the query. For example,
in the case of an SQL query, returns the SQL query as a string.
- Capability Level: 1
- 返回:
- the String representation for this query
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.