org.apache.xindice.webadmin.webdav.components
Class Search
java.lang.Object
org.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
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 |
Search
public Search()
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 requestres
- WebDAV servlettarget
- target location
- Throws:
javax.servlet.ServletException
IOException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.