|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.opensearch.opensearchlibrary.responseelements.OpenSearchResponse
public abstract class OpenSearchResponse
Class implementing functionality common to all OpenSearch responses
Constructor Summary | |
---|---|
OpenSearchResponse()
|
Method Summary | |
---|---|
boolean |
containsPagingElements()
Determines whether this search response page contains OpenSearch response information relevant to page handling. |
java.lang.Integer |
getItemsPerPage()
Returns the number of results per page that are contained in the OpenSearch response |
java.util.List<QueryBuilder> |
getQueryBuilders(java.lang.String role)
Returns a list of QueryBuilder objects that may be used to construct queries for a specific role |
org.w3c.dom.Document |
getResponse()
Returns the OpenSearch response Document |
java.lang.Integer |
getStartIndex()
Returns the start index of the first result contained in the OpenSearch response |
java.lang.Integer |
getTotalResults()
Returns the number of total results contained in the OpenSearchResponse |
boolean |
isFirstPage()
Determines whether this page is the first page of search results |
boolean |
isLastPage()
Determines whether this page is the last page of search results |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSearchResponse()
Method Detail |
---|
public org.w3c.dom.Document getResponse()
public java.lang.Integer getTotalResults()
public java.lang.Integer getStartIndex()
public java.lang.Integer getItemsPerPage()
public boolean isFirstPage()
public boolean isLastPage()
public boolean containsPagingElements()
getItemsPerPage()
public java.util.List<QueryBuilder> getQueryBuilders(java.lang.String role)
role
- The role that t
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |