01: /*
02: * (C) Copyright Simulacra Media Ltd, 2004. All rights reserved.
03: *
04: * The program is provided "AS IS" without any warranty express or
05: * implied, including the warranty of non-infringement and the implied
06: * warranties of merchantibility and fitness for a particular purpose.
07: * Simulacra Media Ltd will not be liable for any damages suffered by you as a result
08: * of using the Program. In no event will Simulacra Media Ltd be liable for any
09: * special, indirect or consequential damages or lost profits even if
10: * Simulacra Media Ltd has been advised of the possibility of their occurrence.
11: * Simulacra Media Ltd will not be liable for any third party claims against you.
12: *
13: */
14: package com.ibm.webdav;
15:
16: import org.w3c.dom.*;
17:
18: /**
19: * SearchSchema represents a schema which can be built and then published
20: * as XML as a response to a DASL request for the supported search schema.
21: *
22: * @author Michael Bell
23: * @version $Revision: 1.1 $
24: *
25: */
26: public interface SearchSchema {
27: public void addPropertyDescription(Element propertyEl,
28: Element datatypeEl, boolean bSearchable,
29: boolean bSelectable, boolean bSortable) throws Exception;
30:
31: public void addOperator(Element opEl, boolean bIncludeLiteral)
32: throws Exception;
33:
34: public void addAnyOtherPropertyDescription(boolean bSearchable,
35: boolean bSelectable, boolean bSortable) throws Exception;
36:
37: public Element asXML();
38: }
|