Example usage for javax.xml.registry Query QUERY_TYPE_XQUERY

List of usage examples for javax.xml.registry Query QUERY_TYPE_XQUERY

Introduction

In this page you can find the example usage for javax.xml.registry Query QUERY_TYPE_XQUERY.

Prototype

int QUERY_TYPE_XQUERY

To view the source code for javax.xml.registry Query QUERY_TYPE_XQUERY.

Click Source Link

Document

A W3C XQuery type.

Usage

From source file:it.cnr.icar.eric.client.ui.thin.RegistryObjectCollectionBean.java

public List<SelectItem> getQueryTypes() {
    ArrayList<SelectItem> list = new ArrayList<SelectItem>();
    list.add(new SelectItem((new Integer(Query.QUERY_TYPE_SQL)), "SQL Query"));
    list.add(new SelectItem((new Integer(Query.QUERY_TYPE_XQUERY)), "XQuery"));
    list.add(new SelectItem((new Integer(Query.QUERY_TYPE_EBXML_FILTER_QUERY)), "ebXML Filter Query"));
    return list;// ww w  .j  a v  a 2 s  .c o m
}