Package org.biojava.bio.seq.io.agave
Class AGAVEGeneHandler
- java.lang.Object
-
- org.biojava.bio.seq.io.agave.StAXContentHandlerBase
-
- org.biojava.bio.seq.io.agave.StAXFeatureHandler
-
- 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
Fields Modifier and Type Field Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(AGAVEProperty prop)
void
addRelatedAnnot(AGAVERelatedAnnot prop)
void
reportFeature(Location loc)
void
reportStrand(StrandedFeature.Strand strand)
void
startElementHandler(String nsURI, String localName, String qName, 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
-
-
-
-
Field Detail
-
AGAVE_GENE_HANDLER_FACTORY
public static final StAXHandlerFactory AGAVE_GENE_HANDLER_FACTORY
-
-
Method Detail
-
startElementHandler
public void startElementHandler(String nsURI, String localName, String qName, Attributes attrs) throws SAXException
Description copied from class:StAXFeatureHandler
Element-specific handler. Subclass this to do something useful!- Overrides:
startElementHandler
in classStAXFeatureHandler
- Throws:
SAXException
-
addProperty
public void addProperty(AGAVEProperty prop)
-
reportFeature
public void reportFeature(Location loc)
- Specified by:
reportFeature
in interfaceAGAVEFeatureCallbackItf
-
reportStrand
public void reportStrand(StrandedFeature.Strand strand)
- Specified by:
reportStrand
in interfaceAGAVEFeatureCallbackItf
-
addRelatedAnnot
public void addRelatedAnnot(AGAVERelatedAnnot prop)
-
-