org.tigris.scarab.feeds
Class QueryFeed
java.lang.Object
org.tigris.scarab.feeds.QueryFeed
- All Implemented Interfaces:
- Feed
- public class QueryFeed
- extends java.lang.Object
- implements Feed
Converts a query to an RSS feed. The private methods are mostly ripped off
of ScarabRequestTool and there should be some refactoring done here.
- Author:
- Eric Pugh
|
Method Summary |
com.sun.syndication.feed.synd.SyndFeed |
getFeed()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryFeed
public QueryFeed(Query query,
IteratorWithSize results,
ScarabLink scarabLink,
java.lang.String format)
- Constructs the query feed with the search results.
- Parameters:
query - The searched queryresults - The iterator containing the search-resultsscarabLink - format -
getFeed
public com.sun.syndication.feed.synd.SyndFeed getFeed()
throws java.lang.Exception,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
org.apache.fulcrum.security.util.TurbineSecurityException
- Specified by:
getFeed in interface Feed
- Throws:
java.lang.Exception
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
org.apache.fulcrum.security.util.TurbineSecurityException
Copyright © 2000-2004 Tigris.org. All Rights Reserved.