|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.webdav.property.AbstractDavProperty org.apache.jackrabbit.webdav.search.QueryGrammerSet
public class 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 . |
Method Summary | |
---|---|
void |
addQueryLanguage(String grammerName,
Namespace namespace)
Add another query queryGrammer to this set. |
String[] |
getQueryLanguages()
Return a String array containing the URIs of the query languages supported. |
Object |
getValue()
Returns the set of supported query grammers. |
Element |
toXml(Document document)
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, isInvisibleInAllprop |
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 addQueryLanguage(String, Namespace)
.
Method Detail |
---|
public void addQueryLanguage(String grammerName, Namespace namespace)
grammerName
- namespace
- public String[] getQueryLanguages()
public Element toXml(Document document)
toXml
in interface XmlSerializable
toXml
in class AbstractDavProperty
document
-
SearchConstants.QUERY_GRAMMER_SET
,
XmlSerializable.toXml(Document)
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 |