001/*
002 *                    BioJava development code
003 *
004 * This code may be freely distributed and modified under the
005 * terms of the GNU Lesser General Public Licence.  This should
006 * be distributed with the code.  If you do not have a copy,
007 * see:
008 *
009 *      http://www.gnu.org/copyleft/lesser.html
010 *
011 * Copyright for this code is held jointly by the individual
012 * authors.  These should be listed in @author doc comments.
013 *
014 * For more information on the BioJava project and its aims,
015 * or to join the biojava-l mailing list, visit the home page
016 * at:
017 *
018 *      http://www.biojava.org/
019 *
020 */
021package org.biojava.bio.program.blast2html;
022
023import java.util.List;
024
025
026/**
027 * Interface for a factory method to return a list of
028 * 0, 1 or more <code>DatabaseURLGenerator</code> instances.
029 *
030 *
031 * Primary author -
032 *                 Colin Hardman      (CAT)
033 * Other authors  -
034 *                 Tim Dilks          (CAT)
035 *                 Simon Brocklehurst (CAT)
036 *                 Stuart Johnston    (CAT)
037 *                 Lawerence Bower    (CAT)
038 *                 Derek Crockford    (CAT)
039 *                 Neil Benn          (CAT)
040 *
041 * Copyright 2001 Cambridge Antibody Technology Group plc.
042 *
043 * This code released to the biojava project, May 2001
044 * under the LGPL license.
045 *
046 * @author Cambridge Antibody Technology Group plc
047 * @version 1.0
048 */
049public interface URLGeneratorFactory {
050
051    /**
052     * Returns a list of 0, 1 or more  <code>DatabaseURLGenerator</code>
053     * The first is used to link from the id in the summary table, all are
054     * used as a list of links in the detail section.
055     *
056     * @return a <code>List</code>
057     */
058    public List getDatabaseURLGenerators();
059}