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

info.freelibrary.marc4j.impl.SortedMarcFactoryImpl Maven / Gradle / Ivy

Go to download

An easy to use Application Programming Interface (API) for working with MARC and MARCXML in Java.

There is a newer version: 2.6.12
Show newest version

package info.freelibrary.marc4j.impl;

import org.marc4j.marc.Leader;
import org.marc4j.marc.Record;

/**
 * @author Robert Haschart
 */
public class SortedMarcFactoryImpl extends MarcFactoryImpl {

    /**
     * Returns a new {@link Record} from the supplied {@link Leader}.
     */
    public Record newRecord(Leader leader) {
        Record record = new SortedRecordImpl();
        record.setLeader(leader);
        return record;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy