Package org.biojava.bio.seq.io.agave
Interface StAXContentHandler
- All Known Implementing Classes:
AGAVEAltIdsPropHandler,AGAVEAnnotationsHandler,AGAVEAssemblyHandler,AGAVEBioSeqHandler,AGAVEBioSequenceHandler,AGAVECdsHandler,AGAVEChromosomeHandler,AGAVEClassificationHandler,AGAVECompResultHandler,AGAVEComputationHandler,AGAVEContigHandler,AGAVEDbIdPropHandler,AGAVEDescPropHandler,AGAVEElementIdPropHandler,AGAVEEvidenceHandler,AGAVEExonsPropHandler,AGAVEFragmentOrderHandler,AGAVEFragmentOrientationHandler,AGAVEGeneHandler,AGAVEHandler,AGAVEIdAliasPropHandler,AGAVEKeywordPropHandler,AGAVEMapLocationPropHandler,AGAVEMapPositionPropHandler,AGAVEMatchAlignPropHandler,AGAVEMatchDescPropHandler,AGAVEMatchRegionPropHandler,AGAVEMrnaHandler,AGAVENotePropHandler,AGAVEPredictedProteinHandler,AGAVEQualifierPropHandler,AGAVEQueryRegionPropHandler,AGAVERelatedAnnotPropHandler,AGAVEResultGroupHandler,AGAVEResultPropertyPropHandler,AGAVESciPropertyPropHandler,AGAVESeqFeatureHandler,AGAVESeqLocationPropHandler,AGAVESeqMapHandler,AGAVESeqPropHandler,AGAVETranscriptHandler,AGAVEUnorderedFragmentsHandler,AGAVEViewPropHandler,AGAVEXrefPropHandler,AGAVEXrefPropPropHandler,AGAVEXrefsPropHandler,StAXContentHandlerBase,StAXFeatureHandler,StAXPropertyHandler
public interface StAXContentHandler
Interface for StAX content handlers. This interface is
very similar in spirit and design to the SAX content handler.
Differences are:
- start/endDocument methods are replaced by start/endTree. This recognises the fact that a StAX content handler may only see a sub-tree of an XML document, rather than the whole document.
- the startElement method takes a
DelegationManager, allowing delegation of sub-trees to other content handlers.
- Author:
- copied from Thomas Down
-
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String nsURI, String localName, String qName, StAXContentHandler delegate) voidendPrefixMapping(String prefix) voidendTree()voidignorableWhitespace(char[] ch, int start, int length) voidprocessingInstruction(String target, String data) voidsetDocumentLocator(Locator locator) voidskippedEntity(String name) voidstartElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) voidstartPrefixMapping(String prefix, String uri) void
-
Method Details
-
startTree
- Throws:
SAXException
-
endTree
- Throws:
SAXException
-
characters
- Throws:
SAXException
-
ignorableWhitespace
- Throws:
SAXException
-
startPrefixMapping
- Throws:
SAXException
-
endPrefixMapping
- Throws:
SAXException
-
processingInstruction
- Throws:
SAXException
-
setDocumentLocator
-
skippedEntity
- Throws:
SAXException
-
startElement
void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException - Throws:
SAXException
-
endElement
void endElement(String nsURI, String localName, String qName, StAXContentHandler delegate) throws SAXException - Throws:
SAXException
-