|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.module.ModuleImpl
org.rometools.feed.module.opensearch.impl.OpenSearchModuleImpl
public class OpenSearchModuleImpl
| Field Summary |
|---|
| Fields inherited from interface org.rometools.feed.module.opensearch.OpenSearchModule |
|---|
URI |
| Constructor Summary | |
|---|---|
OpenSearchModuleImpl()
|
|
| Method Summary | |
|---|---|
void |
addQuery(OSQuery query)
Adds a query to the module. |
void |
copyFrom(com.sun.syndication.feed.CopyFrom obj)
|
Class |
getInterface()
|
int |
getItemsPerPage()
# itemsPerPage – the maximum number of items that can appear in one page of results |
com.sun.syndication.feed.atom.Link |
getLink()
# link – a reference back to the OpenSearch Description file * Attributes: This is a clone of the link element in Atom, including href, hreflang, rel, and type attributes |
List |
getQueries()
Query – in an OpenSearch Response, can be used both to echo back the original query and to suggest new searches. |
int |
getStartIndex()
# startIndex – the index of the first item returned in the result |
int |
getTotalResults()
# totalResults – the maximum number of results available for these search terms * Restrictions: An integer greater than or equal to 0 |
void |
setItemsPerPage(int itemsPerPage)
# itemsPerPage – the maximum number of items that can appear in one page of results |
void |
setLink(com.sun.syndication.feed.atom.Link link)
# link – a reference back to the OpenSearch Description file * Attributes: This is a clone of the link element in Atom, including href, hreflang, rel, and type attributes |
void |
setQueries(List queries)
Query – in an OpenSearch Response, can be used both to echo back the original query and to suggest new searches. |
void |
setStartIndex(int startIndex)
# startIndex – the index of the first item returned in the result |
void |
setTotalResults(int totalResults)
# totalResults – the maximum number of results available for these search terms * Restrictions: An integer greater than or equal to 0 |
| Methods inherited from class com.sun.syndication.feed.module.ModuleImpl |
|---|
clone, equals, getUri, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.syndication.feed.module.Module |
|---|
clone, getUri |
| Constructor Detail |
|---|
public OpenSearchModuleImpl()
| Method Detail |
|---|
public int getItemsPerPage()
OpenSearchResponse
getItemsPerPage in interface OpenSearchResponsepublic void setItemsPerPage(int itemsPerPage)
OpenSearchResponse
setItemsPerPage in interface OpenSearchResponseitemsPerPage - The itemsPerPage to set.public com.sun.syndication.feed.atom.Link getLink()
OpenSearchResponse
getLink in interface OpenSearchResponsepublic void setLink(com.sun.syndication.feed.atom.Link link)
OpenSearchResponse
setLink in interface OpenSearchResponselink - The link to set.public List getQueries()
OpenSearchResponseQuery – in an OpenSearch Response, can be used both to echo back the original query and to suggest new searches.
Please see the OpenSearch Query specification for more information.
getQueries in interface OpenSearchResponsepublic void setQueries(List queries)
OpenSearchResponseQuery – in an OpenSearch Response, can be used both to echo back the original query and to suggest new searches.
Please see the OpenSearch Query specification for more information.
setQueries in interface OpenSearchResponsequeries - The queries to set.public void addQuery(OSQuery query)
OpenSearchResponse
addQuery in interface OpenSearchResponsequery - OSQuery object to add.public int getStartIndex()
OpenSearchResponse
getStartIndex in interface OpenSearchResponsepublic void setStartIndex(int startIndex)
OpenSearchResponse
setStartIndex in interface OpenSearchResponsestartIndex - The startIndex to set.public int getTotalResults()
OpenSearchResponse
getTotalResults in interface OpenSearchResponsepublic void setTotalResults(int totalResults)
OpenSearchResponse
setTotalResults in interface OpenSearchResponsetotalResults - The totalResults to set.public void copyFrom(com.sun.syndication.feed.CopyFrom obj)
copyFrom in interface com.sun.syndication.feed.CopyFrompublic Class getInterface()
getInterface in interface com.sun.syndication.feed.CopyFrom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||