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.Constructor and Description |
---|
SeqSimilarityStAXAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String nsURI,
String localName,
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(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm) |
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
public static final String NAMESPACE
public SeqSimilarityStAXAdapter()
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
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
.Copyright © 2014 BioJava. All rights reserved.