KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > webdav > SearchSchema


1 /*
2  * (C) Copyright Simulacra Media Ltd, 2004. All rights reserved.
3  *
4  * The program is provided "AS IS" without any warranty express or
5  * implied, including the warranty of non-infringement and the implied
6  * warranties of merchantibility and fitness for a particular purpose.
7  * Simulacra Media Ltd will not be liable for any damages suffered by you as a result
8  * of using the Program. In no event will Simulacra Media Ltd be liable for any
9  * 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 /**
20  * SearchSchema represents a schema which can be built and then published
21  * as XML as a response to a DASL request for the supported search schema.
22  *
23  * @author Michael Bell
24  * @version $Revision: 1.1 $
25  *
26  */

27 public interface SearchSchema {
28     public void addPropertyDescription(Element propertyEl, Element datatypeEl,
29                                        boolean bSearchable, boolean bSelectable,
30                                        boolean bSortable)
31                                 throws Exception JavaDoc;
32
33     public void addOperator(Element opEl, boolean bIncludeLiteral)
34                      throws Exception JavaDoc;
35
36     public void addAnyOtherPropertyDescription(boolean bSearchable,
37                                                boolean bSelectable,
38                                                boolean bSortable)
39                                         throws Exception JavaDoc;
40
41     public Element asXML();
42 }
Popular Tags