org.apache.jackrabbit.webdav.search
Interface SearchConstants

All Known Implementing Classes:
QueryGrammerSet, SearchInfo

public interface SearchConstants

SearchConstants interface provide constants for request and response headers, Xml elements and property names used for WebDAV search.


Field Summary
static String BASICSEARCH
          Predefined basic query grammer.
static String HEADER_DASL
          The DASL response header specifing the query languages supported by the requested resource.
static Namespace NAMESPACE
          Namespace definition.
static DavPropertyName QUERY_GRAMMER_SET
          Property indicating the set of query languages the given resource is able deal with.
static String XML_GRAMMER
          Name constant for the 'DAV:grammar' element, which is used inside the XML_QUERY_GRAMMAR element.
static String XML_QUERY_GRAMMAR
          Xml element name for a single query grammar element inside the supported-query-grammer-set property.
static String XML_QUERY_SCHEMA_DISCOVERY
          Optional Xml element name used in the SEARCH request body instead of XML_SEARCHREQUEST in order to access a given query schema.
static String XML_SEARCHREQUEST
          Xml element name for the required request body of a SEARCH request.
 

Field Detail

NAMESPACE

static final Namespace NAMESPACE
Namespace definition.
NOTE: For convenience reasons, the namespace is defined to be the default DAV: namespace. This is not correct for the underlying specification is still in a draft state. See also the editorial note inside the Internet Draft WebDAV Search document.


BASICSEARCH

static final String BASICSEARCH
Predefined basic query grammer.


HEADER_DASL

static final String HEADER_DASL
The DASL response header specifing the query languages supported by the requested resource.

See Also:
Constant Field Values

XML_QUERY_GRAMMAR

static final String XML_QUERY_GRAMMAR
Xml element name for a single query grammar element inside the supported-query-grammer-set property.

See Also:
Constant Field Values

XML_GRAMMER

static final String XML_GRAMMER
Name constant for the 'DAV:grammar' element, which is used inside the XML_QUERY_GRAMMAR element.

See Also:
Constant Field Values

XML_SEARCHREQUEST

static final String XML_SEARCHREQUEST
Xml element name for the required request body of a SEARCH request.

See Also:
SearchInfo, SearchResource.search(SearchInfo), Constant Field Values

XML_QUERY_SCHEMA_DISCOVERY

static final String XML_QUERY_SCHEMA_DISCOVERY
Optional Xml element name used in the SEARCH request body instead of XML_SEARCHREQUEST in order to access a given query schema.

See Also:
Constant Field Values

QUERY_GRAMMER_SET

static final DavPropertyName QUERY_GRAMMER_SET
Property indicating the set of query languages the given resource is able deal with. The property has the following definition:
 <!ELEMENT supported-query-grammar-set (supported-query-grammar*)>
 <!ELEMENT supported-query-grammar grammar>
 <!ELEMENT grammar ANY>
 



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.