|
||||||||||
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 OpenSearchResponse
public void setItemsPerPage(int itemsPerPage)
OpenSearchResponse
setItemsPerPage
in interface OpenSearchResponse
itemsPerPage
- The itemsPerPage to set.public com.sun.syndication.feed.atom.Link getLink()
OpenSearchResponse
getLink
in interface OpenSearchResponse
public void setLink(com.sun.syndication.feed.atom.Link link)
OpenSearchResponse
setLink
in interface OpenSearchResponse
link
- The link to set.public List getQueries()
OpenSearchResponse
Query
– 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 OpenSearchResponse
public void setQueries(List queries)
OpenSearchResponse
Query
– 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 OpenSearchResponse
queries
- The queries to set.public void addQuery(OSQuery query)
OpenSearchResponse
addQuery
in interface OpenSearchResponse
query
- OSQuery object to add.public int getStartIndex()
OpenSearchResponse
getStartIndex
in interface OpenSearchResponse
public void setStartIndex(int startIndex)
OpenSearchResponse
setStartIndex
in interface OpenSearchResponse
startIndex
- The startIndex to set.public int getTotalResults()
OpenSearchResponse
getTotalResults
in interface OpenSearchResponse
public void setTotalResults(int totalResults)
OpenSearchResponse
setTotalResults
in interface OpenSearchResponse
totalResults
- The totalResults to set.public void copyFrom(com.sun.syndication.feed.CopyFrom obj)
copyFrom
in interface com.sun.syndication.feed.CopyFrom
public 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 |