|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLElement
Interface of the URL Element class that is used to process URL elements contained in a DescriptionDocument
Method Summary | |
---|---|
int |
getIndexOffset()
Returns the value of the indexOffset OpenSearch parameter contained in this URL element. |
java.lang.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. |
java.lang.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 |
Method Detail |
---|
void parse() throws java.lang.Exception
java.lang.Exception
- If the URL element is not valid according to the OpenSearch specification or in case of other errorjava.lang.String getMimeType() throws java.lang.Exception
java.lang.Exception
- If the URL element is not initialized or in case of other errorint getPageOffset() throws java.lang.Exception
java.lang.Exception
- If the URL element is not initialized or in case of other errorint getIndexOffset() throws java.lang.Exception
java.lang.Exception
- If the URL element is not initialized or in case of other errorjava.lang.String getRel() throws java.lang.Exception
java.lang.Exception
- If the URL element is not initialized or in case of other errorboolean isRelSupported() throws java.lang.Exception
java.lang.Exception
- If the URL element is not initialized or in case of other errorQueryBuilder getQueryBuilder() throws java.lang.Exception
java.lang.Exception
- In case of other error during QueryBuilder
construction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |