All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.undercouch.citeproc.ItemDataProvider Maven / Gradle / Ivy

package de.undercouch.citeproc;

import de.undercouch.citeproc.csl.CSLItemData;

import java.util.Collection;

/**
 * Retrieves citation items
 * @author Michel Kraemer
 */
public interface ItemDataProvider {
    /**
     * Retrieve a citation item with a given ID
     * @param id the item's unique ID
     * @return the item
     */
    CSLItemData retrieveItem(String id);

    /**
     * @return all item IDs this provider can serve
     */
    Collection getIds();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy