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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, StAXContentHandler delegate)
void
endPrefixMapping(java.lang.String prefix)
void
endTree()
void
ignorableWhitespace(char[] ch, int start, int length)
void
processingInstruction(java.lang.String target, java.lang.String data)
void
setDocumentLocator(org.xml.sax.Locator locator)
void
skippedEntity(java.lang.String name)
void
startElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs, DelegationManager dm)
void
startPrefixMapping(java.lang.String prefix, java.lang.String uri)
void
startTree()
-
-
-
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
-
-