Package org.biojava.bio.seq.io.agave
Class AGAVEChromosomeHandler
- java.lang.Object
-
- org.biojava.bio.seq.io.agave.StAXContentHandlerBase
-
- org.biojava.bio.seq.io.agave.StAXFeatureHandler
-
- org.biojava.bio.seq.io.agave.AGAVEChromosomeHandler
-
- All Implemented Interfaces:
AGAVEChromosomeCallbackItf
,SequenceHandler
,StAXContentHandler
public class AGAVEChromosomeHandler extends StAXFeatureHandler implements AGAVEChromosomeCallbackItf, SequenceHandler
Handles the AGAVE <chromosome> element- Author:
- Hanning Ni Doubletwist Inc
-
-
Field Summary
Fields Modifier and Type Field Description static StAXHandlerFactory
AGAVE_CHROMOSOME_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
endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler)
Element specific exit handler Subclass to do anything useful.Iterator
getSequences()
void
reportSequence(Sequence sequence)
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, 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_CHROMOSOME_HANDLER_FACTORY
public static final StAXHandlerFactory AGAVE_CHROMOSOME_HANDLER_FACTORY
-
-
Method Detail
-
reportSequence
public void reportSequence(Sequence sequence)
- Specified by:
reportSequence
in interfaceAGAVEChromosomeCallbackItf
-
getSequences
public Iterator getSequences()
-
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
-
endElementHandler
public void endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
Description copied from class:StAXFeatureHandler
Element specific exit handler Subclass to do anything useful.- Overrides:
endElementHandler
in classStAXFeatureHandler
- Throws:
SAXException
-
-