Package de.undercouch.citeproc.bibtex
Class BibTeXItemDataProvider
- java.lang.Object
-
- de.undercouch.citeproc.ListItemDataProvider
-
- de.undercouch.citeproc.bibtex.BibTeXItemDataProvider
-
- All Implemented Interfaces:
ItemDataProvider
public class BibTeXItemDataProvider extends ListItemDataProvider
Loads citation items from a BibTeX database- Author:
- Michel Kraemer
-
-
Field Summary
-
Fields inherited from class de.undercouch.citeproc.ListItemDataProvider
items
-
-
Constructor Summary
Constructors Constructor Description BibTeXItemDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDatabase(org.jbibtex.BibTeXDatabase db)Adds the given databasevoidregisterCitationItems(CSL citeproc)Introduces all citation items from the BibTeX databases added viaaddDatabase(BibTeXDatabase)to the given CSL processor-
Methods inherited from class de.undercouch.citeproc.ListItemDataProvider
getIds, retrieveItem
-
-
-
-
Method Detail
-
addDatabase
public void addDatabase(org.jbibtex.BibTeXDatabase db)
Adds the given database- Parameters:
db- the database to add
-
registerCitationItems
public void registerCitationItems(CSL citeproc)
Introduces all citation items from the BibTeX databases added viaaddDatabase(BibTeXDatabase)to the given CSL processor- Parameters:
citeproc- the CSL processor- See Also:
CSL.registerCitationItems(String[])
-
-