org.dspace.app.util
Class GoogleMetadata
java.lang.Object
org.dspace.app.util.GoogleMetadata
public class GoogleMetadata
- extends Object
- Author:
- Sands Fish
|
Constructor Summary |
GoogleMetadata(Context context,
Item item)
Wrap the item, parse all configured fields and generate metadata field
values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
JOURNAL_TITLE
public static final String JOURNAL_TITLE
- See Also:
- Constant Field Values
PUBLISHER
public static final String PUBLISHER
- See Also:
- Constant Field Values
AUTHORS
public static final String AUTHORS
- See Also:
- Constant Field Values
DATE
public static final String DATE
- See Also:
- Constant Field Values
VOLUME
public static final String VOLUME
- See Also:
- Constant Field Values
ISSUE
public static final String ISSUE
- See Also:
- Constant Field Values
FIRSTPAGE
public static final String FIRSTPAGE
- See Also:
- Constant Field Values
LASTPAGE
public static final String LASTPAGE
- See Also:
- Constant Field Values
DOI
public static final String DOI
- See Also:
- Constant Field Values
PMID
public static final String PMID
- See Also:
- Constant Field Values
ABSTRACT
public static final String ABSTRACT
- See Also:
- Constant Field Values
FULLTEXT
public static final String FULLTEXT
- See Also:
- Constant Field Values
PDF
public static final String PDF
- See Also:
- Constant Field Values
ISSN
public static final String ISSN
- See Also:
- Constant Field Values
ISBN
public static final String ISBN
- See Also:
- Constant Field Values
LANGUAGE
public static final String LANGUAGE
- See Also:
- Constant Field Values
KEYWORDS
public static final String KEYWORDS
- See Also:
- Constant Field Values
CONFERENCE
public static final String CONFERENCE
- See Also:
- Constant Field Values
DISSERTATION_ID
public static final String DISSERTATION_ID
- See Also:
- Constant Field Values
DISSERTATION_NAME
public static final String DISSERTATION_NAME
- See Also:
- Constant Field Values
DISSERTATION_INSTITUTION
public static final String DISSERTATION_INSTITUTION
- See Also:
- Constant Field Values
PATENT_ID
public static final String PATENT_ID
- See Also:
- Constant Field Values
PATENT_NUMBER
public static final String PATENT_NUMBER
- See Also:
- Constant Field Values
PATENT_COUNTRY
public static final String PATENT_COUNTRY
- See Also:
- Constant Field Values
TECH_REPORT_ID
public static final String TECH_REPORT_ID
- See Also:
- Constant Field Values
TECH_REPORT_NUMBER
public static final String TECH_REPORT_NUMBER
- See Also:
- Constant Field Values
TECH_REPORT_INSTITUTION
public static final String TECH_REPORT_INSTITUTION
- See Also:
- Constant Field Values
GoogleMetadata
public GoogleMetadata(Context context,
Item item)
throws SQLException
- Wrap the item, parse all configured fields and generate metadata field
values.
- Parameters:
item - - The item being viewed to extract metadata from
- Throws:
SQLException
logConfiguration
public static void logConfiguration()
- Dump Metadata field mapping to log
getMappings
public Set<Map.Entry<String,String>> getMappings()
- Fetch all metadata mappings
Usage: GoogleMetadata gmd = new GoogleMetadata(item); for(Entry mapping : googlemd.getMappings()) { ... }
- Returns:
- Iterable of metadata fields mapped to Google-formatted values
disseminateList
public List<org.jdom.Element> disseminateList()
- Produce meta elements that can easily be put into the head.
- Returns:
getTitle
public String getTitle()
- Returns:
- the citation_title
getJournalTitle
public String getJournalTitle()
- Returns:
- the citation_journal_title
getPublisher
public String getPublisher()
- Returns:
- the citation_publisher
getAuthors
public String getAuthors()
- Returns:
- the citation_authors
getDate
public String getDate()
- Returns:
- the citation_date
getVolume
public String getVolume()
- Returns:
- the citation_volume
getIssue
public String getIssue()
- Returns:
- the citation_issue
getFirstpage
public String getFirstpage()
- Returns:
- the citation_firstpage
getLastpage
public String getLastpage()
- Returns:
- the citation_lastpage
getDOI
public String getDOI()
- Returns:
- the citation_doi
getPmid
public String getPmid()
- Returns:
- the citation_pmid
getAbstractHTMLURL
public String getAbstractHTMLURL()
- Returns:
- the citation_abstract_html_url
getFulltextHTMLURL
public String getFulltextHTMLURL()
- Returns:
- the citation_fulltext_html_url
getPDFURL
public String getPDFURL()
- Returns:
- the citation_pdf_url
getISSN
public String getISSN()
- Returns:
- the citation_issn
getISBN
public String getISBN()
- Returns:
- the citation_isbn
getLanguage
public String getLanguage()
- Returns:
- the citation_language
getKeywords
public String getKeywords()
- Returns:
- the citation_keywords
getConference
public String getConference()
- Returns:
- the citation_conference
getDissertationName
public String getDissertationName()
- Returns:
- the citation_dissertation_name
getDissertationInstitution
public String getDissertationInstitution()
- Returns:
- the citation_dissertation_institution
getPatentNumber
public String getPatentNumber()
- Returns:
- the citation_patent_number
getPatentCountry
public String getPatentCountry()
- Returns:
- the citation_patent_country
getTechnicalReportNumber
public String getTechnicalReportNumber()
- Returns:
- the citation_technical_report_number
getTechnicalReportInstitution
public String getTechnicalReportInstitution()
- Returns:
- the citation_technical_report_institution
Copyright © 2012 DuraSpace. All Rights Reserved.