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 StAXContentHandlerInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidendElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, StAXContentHandler delegate)voidendPrefixMapping(java.lang.String prefix)voidendTree()voidignorableWhitespace(char[] ch, int start, int length)voidprocessingInstruction(java.lang.String target, java.lang.String data)voidsetDocumentLocator(org.xml.sax.Locator locator)voidskippedEntity(java.lang.String name)voidstartElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs, DelegationManager dm)voidstartPrefixMapping(java.lang.String prefix, java.lang.String uri)voidstartTree()
-
-
-
Method Detail
-
startTree
void startTree() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
endTree
void endTree() throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
characters
void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
ignorableWhitespace
void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
startPrefixMapping
void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
endPrefixMapping
void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
processingInstruction
void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
setDocumentLocator
void setDocumentLocator(org.xml.sax.Locator locator)
-
skippedEntity
void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
startElement
void startElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs, DelegationManager dm) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
endElement
void endElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, StAXContentHandler delegate) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException
-
-