|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.AbstractRetrieverUIMetadata
de.unidu.is.retrieval.hyrex.HyREXRetrieverUIMetadata
A class describing metadata for a MIND retriever which can be used by UIs for a reasonable handling of queries and documents.
| Field Summary |
| Fields inherited from class de.unidu.is.retrieval.AbstractRetrieverUIMetadata |
collections, retriever, schema, sortedAttributes, sortedSearchAttributes, sortModel |
| Constructor Summary | |
HyREXRetrieverUIMetadata(Retriever retriever)
Creates a new instance. |
|
| Method Summary | |
java.lang.String[] |
getAuthorAttributeNames()
Returns all attribute names related to a potential author field. |
java.lang.String[] |
getCollections()
Returns all collections supported by the retriever. |
java.lang.String[] |
getSortModel()
Returns the attributes names with could be used for sorting. |
java.lang.String[] |
getTitleAttributeNames()
Returns all attribute names related to a potential title field. |
java.lang.String[] |
getYearAttributeNames()
Returns all attribute names related to a potential year field. |
| Methods inherited from class de.unidu.is.retrieval.AbstractRetrieverUIMetadata |
extract, extractList, getCollectionFromDocID, getRetriever, getSchema, getSortedAttributeNames, getSortedSearchAttributeNames, toHuman |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HyREXRetrieverUIMetadata(Retriever retriever)
retriever - associated retriever| Method Detail |
public java.lang.String[] getCollections()
The collections are queried from the MIND dispatcher.
public java.lang.String[] getSortModel()
This implementation only uses "title", "author", "year", "yearperiod".
getSortModel in interface RetrieverUIMetadatagetSortModel in class AbstractRetrieverUIMetadataRetrieverUIMetadata.getSortModel()public java.lang.String[] getTitleAttributeNames()
This can be used by a GUI for displaying the document title.
public java.lang.String[] getAuthorAttributeNames()
This can be used by a GUI for displaying the document authors.
public java.lang.String[] getYearAttributeNames()
This can be used by a GUI for displaying years associated with a document.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||