|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.property.AbstractDavProperty
org.apache.jackrabbit.webdav.search.QueryGrammerSet
QueryGrammerSet
is a DavProperty
that
encapsulates the 'supported-query-grammer-set' as defined by the
Webdav SEARCH internet draft.
Field Summary |
Fields inherited from interface org.apache.jackrabbit.webdav.search.SearchConstants |
BASICSEARCH, HEADER_DASL, NAMESPACE, QUERY_GRAMMER_SET, XML_GRAMMER, XML_QUERY_GRAMMAR, XML_QUERY_SCHEMA_DISCOVERY, XML_SEARCHREQUEST |
Constructor Summary | |
QueryGrammerSet()
Create a new empty QueryGrammerSet . |
|
QueryGrammerSet(String[] qLanguages)
Create a new QueryGrammerSet from the given query languages
string array. |
Method Summary | |
void |
addQueryLanguage(String qLanguage,
org.jdom.Namespace namespace)
Add another query language to this set. |
String[] |
getQueryLanguages()
Return a String array containing the URIs of the query languages supported. |
Object |
getValue()
Returns the list of supported query languages. |
org.jdom.Element |
toXml()
Return the Xml representation of this property according to the definition of the 'supported-query-grammer-set'. |
Methods inherited from class org.apache.jackrabbit.webdav.property.AbstractDavProperty |
equals, getName, hashCode, isProtected |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryGrammerSet()
QueryGrammerSet
. Supported query grammers
may be added by calling {@link #addQueryLanguage(String, Namespace).
public QueryGrammerSet(String[] qLanguages)
QueryGrammerSet
from the given query languages
string array. The default SearchConstants.NAMESPACE
is assumed.
qLanguages
- Method Detail |
public void addQueryLanguage(String qLanguage, org.jdom.Namespace namespace)
qLanguage
- namespace
- public String[] getQueryLanguages()
public org.jdom.Element toXml()
toXml
in interface DavProperty
toXml
in class AbstractDavProperty
SearchConstants.QUERY_GRAMMER_SET
,
DavProperty.toXml()
public Object getValue()
getValue
in interface DavProperty
DavProperty.getValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |