|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.OpenSearchResult
public class OpenSearchResult
An OpenSearch information block
Field Summary | |
---|---|
static java.lang.String |
ITEMS_PER_PAGE_TAG
The tag used for the items per page entry |
static java.lang.String |
NAMESPACE_PREFIX
The namespace prefix to use, until we can get namespaces working properly |
static java.lang.String |
START_INDEX_TAG
The tag used for the start index entry |
static java.lang.String |
TOTAL_RESULTS_TAG
The tag used for the total results entry |
static java.lang.String |
URI
The URI of the OpenSearch specification |
Constructor Summary | |
---|---|
OpenSearchResult()
constructs an empty instance of the openSearchResult |
|
OpenSearchResult(int pageSize,
int totalRecords,
int startIndex)
constructs an instance of the OpenSearchResult class for the given data |
Method Summary | |
---|---|
void |
addToDOM(org.w3c.dom.Element parent)
adds the content of this instance to the given DOM element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ITEMS_PER_PAGE_TAG
public static final java.lang.String NAMESPACE_PREFIX
public static final java.lang.String START_INDEX_TAG
public static final java.lang.String TOTAL_RESULTS_TAG
public static final java.lang.String URI
Constructor Detail |
---|
public OpenSearchResult(int pageSize, int totalRecords, int startIndex)
pageSize
- the size of a normal pagetotalRecords
- the total number of recordsstartIndex
- the 1-based index of the first record in the corresponding
resultspublic OpenSearchResult()
Method Detail |
---|
public void addToDOM(org.w3c.dom.Element parent)
parent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |