org.biojava.bio.seq.io.agave
Class AGAVEGeneHandler

java.lang.Object
  extended by org.biojava.bio.seq.io.agave.StAXContentHandlerBase
      extended by org.biojava.bio.seq.io.agave.StAXFeatureHandler
          extended by org.biojava.bio.seq.io.agave.AGAVEGeneHandler
All Implemented Interfaces:
AGAVEFeatureCallbackItf, StAXContentHandler

public class AGAVEGeneHandler
extends StAXFeatureHandler
implements AGAVEFeatureCallbackItf

Author:
Hanning Ni Doubletwist Inc

Field Summary
static StAXHandlerFactory AGAVE_GENE_HANDLER_FACTORY
           
 
Fields inherited from class org.biojava.bio.seq.io.agave.StAXFeatureHandler
annot, callbackStack, endLoc, featureListener, featureTemplate, myLocalName, stackLevel, startLoc, staxenv, subFeatures
 
Method Summary
 void addProperty(AGAVEProperty prop)
           
 void addRelatedAnnot(AGAVERelatedAnnot prop)
           
 void reportFeature(Location loc)
           
 void reportStrand(StrandedFeature.Strand strand)
           
 void startElementHandler(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs)
          Element-specific handler.
 
Methods inherited from class org.biojava.bio.seq.io.agave.StAXFeatureHandler
addFeatureToSequence, addHandler, createTemplate, endElement, endElementHandler, getFeatureListener, getHandlerStackIterator, getLevel, pop, push, realizeSubFeatures, setFeatureListener, setHandlerCharacteristics, setProperty, startElement
 
Methods inherited from class org.biojava.bio.seq.io.agave.StAXContentHandlerBase
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AGAVE_GENE_HANDLER_FACTORY

public static final StAXHandlerFactory AGAVE_GENE_HANDLER_FACTORY
Method Detail

startElementHandler

public void startElementHandler(java.lang.String nsURI,
                                java.lang.String localName,
                                java.lang.String qName,
                                org.xml.sax.Attributes attrs)
                         throws org.xml.sax.SAXException
Description copied from class: StAXFeatureHandler
Element-specific handler. Subclass this to do something useful!

Overrides:
startElementHandler in class StAXFeatureHandler
Throws:
org.xml.sax.SAXException

addProperty

public void addProperty(AGAVEProperty prop)

reportFeature

public void reportFeature(Location loc)
Specified by:
reportFeature in interface AGAVEFeatureCallbackItf

reportStrand

public void reportStrand(StrandedFeature.Strand strand)
Specified by:
reportStrand in interface AGAVEFeatureCallbackItf

addRelatedAnnot

public void addRelatedAnnot(AGAVERelatedAnnot prop)