|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.AbstractRetriever
An abstract gateway to retrievers.
| Field Summary | |
protected Schema |
schema
The retriever schema. |
| Constructor Summary | |
AbstractRetriever()
Creates a new instance. |
|
| Method Summary | |
void |
close()
Closes the retriever, and optionally frees used system resources (e.g. closes a network connection). |
org.w3c.dom.Document |
getDocument(ProbDoc doc)
Returns the full XML document |
java.util.List |
getDocuments(java.util.List result)
Returns the full XML documents. |
java.util.List |
getResultSummaries(Query query)
Returns a summarised result for the specified query. |
Schema |
getSchema()
Returns the schema used by this retriever. |
java.util.List |
getSummaries(java.util.List result)
Returns the full XML documents. |
org.w3c.dom.Document |
getSummary(ProbDoc doc)
Returns the full XML document |
org.w3c.dom.Document |
getSummary(java.lang.String docID)
Returns a summary of the XML document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.unidu.is.retrieval.Retriever |
getDocument, getResult |
| Field Detail |
protected Schema schema
| Constructor Detail |
public AbstractRetriever()
| Method Detail |
public Schema getSchema()
getSchema in interface RetrieverRetriever.getSchema()
public org.w3c.dom.Document getDocument(ProbDoc doc)
throws DocumentNotFoundException
getDocument in interface Retrieverdoc - document descriptor
DocumentNotFoundExceptionRetriever.getDocument(de.unidu.is.retrieval.ProbDoc)
public java.util.List getDocuments(java.util.List result)
throws DocumentNotFoundException
getDocuments in interface Retrieverresult - list of ProbDoc instances
DocumentNotFoundException
public org.w3c.dom.Document getSummary(java.lang.String docID)
throws DocumentNotFoundException
getSummary in interface RetrieverdocID - document id
DocumentNotFoundExceptionRetriever.getSummary(java.lang.String)
public org.w3c.dom.Document getSummary(ProbDoc doc)
throws DocumentNotFoundException
getSummary in interface Retrieverdoc - document descriptor
DocumentNotFoundExceptionRetriever.getDocument(de.unidu.is.retrieval.ProbDoc)
public java.util.List getSummaries(java.util.List result)
throws DocumentNotFoundException
getSummaries in interface Retrieverresult - list of ProbDoc instances
DocumentNotFoundException
public java.util.List getResultSummaries(Query query)
throws UnsupportedQueryException,
IndexException,
DocumentNotFoundException
getResultSummaries in interface Retrieverquery - XIRQL query
UnsupportedQueryException
IndexException
DocumentNotFoundExceptionRetriever.getResultSummaries(de.unidu.is.retrieval.Query)
public void close()
throws IndexException
close in interface RetrieverIndexExceptionRetriever.close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||