public class SeqSimilarityStAXHandler extends StAXContentHandlerBase
SeqSimilarityStAXHandler
is a base class for creating
modular StAX handlers which send callbacks to a
SeqSimilarityStAXAdapter
.Modifier and Type | Field and Description |
---|---|
protected SeqSimilarityStAXAdapter |
ssContext |
Constructor and Description |
---|
SeqSimilarityStAXHandler(SeqSimilarityStAXAdapter ssContext)
Creates a new
SeqSimilarityStAXHandler which
simply maintains a list of StAXHandlerBinding s and
delegates to any suitable StAXContentHandler bound
by one of them. |
Modifier and Type | Method and Description |
---|---|
protected void |
addHandler(ElementRecognizer recognizer,
StAXHandlerFactory factory) |
void |
endElement(String nsURI,
String localName,
String qName,
StAXContentHandler handler) |
protected void |
handleEndElement(String nsURI,
String localName,
String qName) |
protected void |
handleStartElement(String nsURI,
String localName,
String qName,
Attributes attrs) |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm) |
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
protected SeqSimilarityStAXAdapter ssContext
public SeqSimilarityStAXHandler(SeqSimilarityStAXAdapter ssContext)
SeqSimilarityStAXHandler
which
simply maintains a list of StAXHandlerBinding
s and
delegates to any suitable StAXContentHandler
bound
by one of them.public void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
startElement
in interface StAXContentHandler
startElement
in class StAXContentHandlerBase
SAXException
public void endElement(String nsURI, String localName, String qName, StAXContentHandler handler) throws SAXException
endElement
in interface StAXContentHandler
endElement
in class StAXContentHandlerBase
SAXException
protected void addHandler(ElementRecognizer recognizer, StAXHandlerFactory factory)
protected void handleStartElement(String nsURI, String localName, String qName, Attributes attrs) throws SAXException
SAXException
protected void handleEndElement(String nsURI, String localName, String qName) throws SAXException
SAXException
Copyright © 2014 BioJava. All rights reserved.