Package org.biojava.bio.seq.io.agave
Class AGAVEClassificationHandler
- java.lang.Object
-
- org.biojava.bio.seq.io.agave.StAXContentHandlerBase
-
- org.biojava.bio.seq.io.agave.StAXFeatureHandler
-
- org.biojava.bio.seq.io.agave.AGAVEClassificationHandler
-
- All Implemented Interfaces:
AGAVEIdAliasCallbackItf
,StAXContentHandler
public class AGAVEClassificationHandler extends StAXFeatureHandler implements AGAVEIdAliasCallbackItf
- Author:
- Hanning Ni Doubletwist Inc
-
-
Field Summary
Fields Modifier and Type Field Description static StAXHandlerFactory
AGAVE_CLASSIFICATION_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
addIdAlias(AGAVEIdAlias id)
void
endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler)
Element specific exit handler Subclass to do anything useful.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_CLASSIFICATION_HANDLER_FACTORY
public static final StAXHandlerFactory AGAVE_CLASSIFICATION_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
-
addIdAlias
public void addIdAlias(AGAVEIdAlias id)
- Specified by:
addIdAlias
in interfaceAGAVEIdAliasCallbackItf
-
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
-
-