Package org.biojava.bio.seq.io.game12
Class GAMESeqHandler
java.lang.Object
org.biojava.utils.stax.StAXContentHandlerBase
org.biojava.bio.seq.io.game12.StAXFeatureHandler
org.biojava.bio.seq.io.game12.GAMESeqHandler
- All Implemented Interfaces:
StAXContentHandler
Handles the GAME <seq> element
- Since:
- 1.2
- Author:
- David Huen
-
Field Summary
FieldsFields inherited from class org.biojava.bio.seq.io.game12.StAXFeatureHandler
staxenv
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElementHandler
(String nsURI, String localName, String qName, StAXContentHandler staxHandler) Element specific exit handler Subclass to do anything useful.int
Gets the sequenceLength attribute of the GAMESeqHandler objectvoid
startElementHandler
(String nsURI, String localName, String qName, Attributes attrs) Element-specific handler.Methods inherited from class org.biojava.bio.seq.io.game12.StAXFeatureHandler
addHandler, endElement, returnData, startElement
Methods inherited from class org.biojava.utils.stax.StAXContentHandlerBase
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
-
Field Details
-
GAME_SEQ_HANDLER_FACTORY
Description of the Field
-
-
Method Details
-
getSequenceLength
Gets the sequenceLength attribute of the GAMESeqHandler object- Returns:
- The sequenceLength value
-
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
- Parameters:
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterattrs
- Description of the Parameter- Throws:
SAXException
- Description of the Exception
-
endElementHandler
public void endElementHandler(String nsURI, String localName, String qName, StAXContentHandler staxHandler) throws SAXException Description copied from class:StAXFeatureHandler
Element specific exit handler Subclass to do anything useful.- Overrides:
endElementHandler
in classStAXFeatureHandler
- Parameters:
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the ParameterstaxHandler
- Description of the Parameter- Throws:
SAXException
- Description of the Exception
-