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
public class GAMESeqHandler
- extends StAXFeatureHandler
Handles the GAME <seq> element
- Since:
- 1.2
- Author:
- David Huen
Method Summary |
void |
endElementHandler(java.lang.String nsURI,
java.lang.String localName,
java.lang.String qName,
StAXContentHandler staxHandler)
Element specific exit handler Subclass to do anything useful. |
int |
getSequenceLength()
Gets the sequenceLength attribute of the GAMESeqHandler object |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GAME_SEQ_HANDLER_FACTORY
public static final StAXHandlerFactory GAME_SEQ_HANDLER_FACTORY
- Description of the Field
getSequenceLength
public int getSequenceLength()
- Gets the sequenceLength attribute of the GAMESeqHandler object
- Returns:
- The sequenceLength value
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
- Parameters:
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the Parameterattrs
- Description of the Parameter
- Throws:
org.xml.sax.SAXException
- Description of the Exception
endElementHandler
public void endElementHandler(java.lang.String nsURI,
java.lang.String localName,
java.lang.String qName,
StAXContentHandler staxHandler)
throws org.xml.sax.SAXException
- Description copied from class:
StAXFeatureHandler
- Element specific exit handler Subclass to do anything useful.
- Overrides:
endElementHandler
in class StAXFeatureHandler
- Parameters:
nsURI
- Description of the ParameterlocalName
- Description of the ParameterqName
- Description of the ParameterstaxHandler
- Description of the Parameter
- Throws:
org.xml.sax.SAXException
- Description of the Exception