Top Description Fields Constructors Methods
de.undercouch.citeproc.bibtex

public Class BibTeXItemDataProvider

extends ListItemDataProvider
Class Inheritance
Imports
de.undercouch.citeproc.CSL, .ListItemDataProvider, org.jbibtex.BibTeXDatabase

Loads citation items from a BibTeX database
Author
Michel Kraemer

Field Summary

Inherited from de.undercouch.citeproc.ListItemDataProvider:
items

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addDatabase(BibTeXDatabase
the database to add
db
)

Adds the given database

public void
registerCitationItems(CSL
the CSL processor
citeproc
)

Introduces all citation items from the BibTeX databases added via addDatabase(BibTeXDatabase) to the given CSL processor

Inherited from de.undercouch.citeproc.ListItemDataProvider:
getIdsretrieveItem

Constructor Detail

BibTeXItemDataProviderback to summary
public BibTeXItemDataProvider()

Method Detail

addDatabaseback to summary
public void addDatabase(BibTeXDatabase db)

Adds the given database

Parameters
db:BibTeXDatabase

the database to add

registerCitationItemsback to summary
public void registerCitationItems(CSL citeproc)

Introduces all citation items from the BibTeX databases added via addDatabase(BibTeXDatabase) to the given CSL processor

Parameters
citeproc:CSL

the CSL processor

See Also
CSL#registerCitationItems(String[])