public interface URLElement
| Modifier and Type | Method and Description |
|---|---|
int |
getIndexOffset()
Returns the value of the indexOffset OpenSearch parameter contained in this URL element.
|
String |
getMimeType()
Retrieves the MIME type associated with the results obtained after issuing a query using the template
contained in this URL element
|
int |
getPageOffset()
Returns the value of the pageOffset OpenSearch parameter contained in this URL element.
|
QueryBuilder |
getQueryBuilder()
Constructs and returns a QueryBuilder object that can be used to construct queries based
on the template contained in this query element.
|
String |
getRel()
Returns the role of the resource being described in relation to the description document
|
boolean |
isRelSupported()
Answers whether the rel value of the URL element can be interpreted by this URL element type
|
void |
parse()
Processes a URL element
|
void parse()
throws Exception
Exception - If the URL element is not valid according to the OpenSearch specification or in case of other errorString getMimeType() throws Exception
Exception - If the URL element is not initialized or in case of other errorint getPageOffset()
throws Exception
Exception - If the URL element is not initialized or in case of other errorint getIndexOffset()
throws Exception
Exception - If the URL element is not initialized or in case of other errorString getRel() throws Exception
Exception - If the URL element is not initialized or in case of other errorboolean isRelSupported()
throws Exception
Exception - If the URL element is not initialized or in case of other errorQueryBuilder getQueryBuilder() throws Exception
Exception - In case of other error during QueryBuilder constructionCopyright © 2014. All Rights Reserved.