public class SeqSimilarityStAXAdapter extends StAXContentHandlerBase
SeqSimilarityStAXAdapter
is a handler for XML
conforming to the BioJava BlastLike DTD. Together with its modular
delegate handlers it converts XML into calls on a
SearchContentHandler
interface. Implementations of the
at interface create various types of Java object from the XML data.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
SeqSimilarityStAXAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String qName,
StAXContentHandler handler) |
SearchContentHandler |
getSearchContentHandler()
getSearchContentHandler gets the handler which
will receive the method calls generated by the adapter. |
void |
setSearchContentHandler(SearchContentHandler scHandler)
setSearchContentHandler sets the handler which
will recieve the method calls generated by the adapter. |
void |
startElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs,
DelegationManager dm) |
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
public static final java.lang.String NAMESPACE
public 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
startElement
in interface StAXContentHandler
startElement
in class StAXContentHandlerBase
org.xml.sax.SAXException
public void endElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, StAXContentHandler handler) throws org.xml.sax.SAXException
endElement
in interface StAXContentHandler
endElement
in class StAXContentHandlerBase
org.xml.sax.SAXException
public SearchContentHandler getSearchContentHandler()
getSearchContentHandler
gets the handler which
will receive the method calls generated by the adapter.SearchContentHandler
.public void setSearchContentHandler(SearchContentHandler scHandler)
setSearchContentHandler
sets the handler which
will recieve the method calls generated by the adapter.scHandler
- a SearchContentHandler
.