001 
002/**
003 *                    BioJava development code
004 *
005 * This code may be freely distributed and modified under the
006 * terms of the GNU Lesser General Public Licence.  This should
007 * be distributed with the code.  If you do not have a copy,
008 * see:
009 *
010 *      http://www.gnu.org/copyleft/lesser.html
011 *
012 * Copyright for this code is held jointly by the individual
013 * authors.  These should be listed in @author doc comments.
014 *
015 * For more information on the BioJava project and its aims,
016 * or to join the biojava-l mailing list, visit the home page
017 * at:
018 *
019 *      http://www.biojava.org/
020 *
021 */
022
023package org.biojava.bio.seq.io.game;
024
025import org.biojava.bio.seq.StrandedFeature;
026import org.biojava.bio.symbol.RangeLocation;
027/**
028 * An interface that can be tested for by nested handlers
029 * when trying to do a callback.
030 * This one allows an element that represents a transcript
031 * to gain information about locations of nested elements
032 * that represent exons/introns.
033 *
034 * @author David Huen
035 * @since 1.8
036 */
037public interface GAMETranscriptCallbackItf {
038
039/**
040 * Allows nesting class that manages a transcript template
041 * to gain information about its extent from nested
042 * elements that represent exons.
043 */
044  public void reportExon(RangeLocation range, StrandedFeature.Strand strand);
045}
046