|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface describes metadata for a retriever which can be used by UIs for a reasonable handling of queries and documents.
| Method Summary | |
java.lang.String |
extract(org.w3c.dom.Document doc,
java.lang.String attName)
Extracts the content of the specified XML document given by the XPath expressions of the specified attribute. |
java.util.List |
extractList(org.w3c.dom.Document doc,
java.lang.String attName)
Extracts the content of the specified XML document given by the XPath expressions of the specified attribute. |
java.lang.String[] |
getAuthorAttributeNames()
Returns all attribute names related to a potential author field. |
java.lang.String |
getCollectionFromDocID(java.lang.String docID)
Returns the collection which is encoded in the specified doc ID. |
java.lang.String[] |
getCollections()
Returns all collections supported by the retriever. |
Retriever |
getRetriever()
Returns the associated retriever. |
Schema |
getSchema()
Returns the schema used by the retriever. |
java.lang.String[] |
getSortedAttributeNames()
Returns the attributes names with could be used for displaying details. |
java.lang.String[] |
getSortedSearchAttributeNames()
Returns the attributes names with could be used for searching. |
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. |
java.lang.String |
toHuman(java.lang.String attName)
Converts the specified attribute name into a human-readable label. |
| Method Detail |
public Retriever getRetriever()
public Schema getSchema()
public java.lang.String[] getCollections()
public java.lang.String[] getSortedSearchAttributeNames()
public java.lang.String[] getSortedAttributeNames()
public java.lang.String[] getSortModel()
public java.lang.String toHuman(java.lang.String attName)
attName - attribute name
public java.lang.String extract(org.w3c.dom.Document doc,
java.lang.String attName)
doc - XML docoumentattName - attribute name
public java.util.List extractList(org.w3c.dom.Document doc,
java.lang.String attName)
doc - XML docoumentattName - attribute name
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.
public java.lang.String getCollectionFromDocID(java.lang.String docID)
docID - document ID
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||