Package org.biojava.bio.seq.io.agave
Class AGAVESeqPropHandler
- java.lang.Object
-
- org.biojava.bio.seq.io.agave.StAXContentHandlerBase
-
- org.biojava.bio.seq.io.agave.StAXPropertyHandler
-
- org.biojava.bio.seq.io.agave.AGAVESeqPropHandler
-
- All Implemented Interfaces:
StAXContentHandler
public class AGAVESeqPropHandler extends StAXPropertyHandler
Deals with sequence code- Author:
- Hanning Ni Doubletwist Inc, Greg Cox
-
-
Field Summary
Fields Modifier and Type Field Description static StAXHandlerFactory
AGAVE_SEQ_PROP_HANDLER_FACTORY
-
Fields inherited from class org.biojava.bio.seq.io.agave.StAXPropertyHandler
featureListener, staxenv
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
Signal a span of character data in the XML input.void
endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler)
Element specific exit handler Subclass to do anything useful.-
Methods inherited from class org.biojava.bio.seq.io.agave.StAXPropertyHandler
addHandler, endElement, getHandlerStackIterator, setHandlerCharacteristics, setProperty, startElement, startElementHandler
-
Methods inherited from class org.biojava.bio.seq.io.agave.StAXContentHandlerBase
endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
-
-
-
-
Field Detail
-
AGAVE_SEQ_PROP_HANDLER_FACTORY
public static final StAXHandlerFactory AGAVE_SEQ_PROP_HANDLER_FACTORY
-
-
Method Detail
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
Description copied from class:StAXContentHandlerBase
Signal a span of character data in the XML input.- Specified by:
characters
in interfaceStAXContentHandler
- Overrides:
characters
in classStAXContentHandlerBase
- Parameters:
ch
- an array of charactersstart
- index of the first significant character for this event.length
- number of characters significant to this event.- Throws:
SAXException
-
endElementHandler
public void endElementHandler(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
Description copied from class:StAXPropertyHandler
Element specific exit handler Subclass to do anything useful.- Overrides:
endElementHandler
in classStAXPropertyHandler
- Throws:
SAXException
-
-