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

de.undercouch.citeproc.ris.RISLibrary Maven / Gradle / Ivy

package de.undercouch.citeproc.ris;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * A container for RIS references
 * 
 * @author Michel Kraemer
 */
public class RISLibrary {
    private final List references = new ArrayList<>();

    /**
     * Adds a reference to this library
     * 
     * @param reference
     *            the reference to add
     */
    public void addReference(RISReference reference) {
        references.add(reference);
    }

    /**
     * @return an unmodifiable list of references in this library
     */
    public List getReferences() {
        return Collections.unmodifiableList(references);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy