Xindice API
version 1.2m1

org.apache.xindice.webadmin.webdav.components
Class Search

java.lang.Object
  extended byorg.apache.xindice.webadmin.webdav.components.Search
All Implemented Interfaces:
DAVComponent

public class Search
extends Object
implements DAVComponent

This class implements the Serach command for WebDAV DASL search operations on Xindice. example search:

 <?xml version="1.0" encoding="UTF-8"?>
 <searchrequest xmlns="DAV:" xmlns:xd="http://apache.org/xindice/dasl">
   <basicsearch>
     <select>
       <prop>
         <displayname/>
         <xd:xpath name="ExampleQuery">address[country="Germany"]</xd:xpath>
       </prop>
     </select>
     <from>
       <scope>
         <href>addressbook</href>
       </scope>
     </from>
     <where>
       <xd:xpath refname="ExampleQuery"/>
     </where>
   </basicsearch>
 </searchrequest>
 

Version:
$Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $
Author:
Jan Metzner

Constructor Summary
Search()
           
 
Method Summary
 void execute(DAVRequest req, DAVResponse res, Location target)
          Executes request to a target location, that can be either root ("/"), collection, resource or an unknown location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Search

public Search()
Method Detail

execute

public void execute(DAVRequest req,
                    DAVResponse res,
                    Location target)
             throws javax.servlet.ServletException,
                    IOException
Description copied from interface: DAVComponent
Executes request to a target location, that can be either root ("/"), collection, resource or an unknown location.

Specified by:
execute in interface DAVComponent
Parameters:
req - WebDAV request
res - WebDAV servlet
target - target location
Throws:
javax.servlet.ServletException
IOException

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.