public class QuestForOrthologsSeqXMLParser extends Object
QuestForOrthologsSeqXMLParser.ProteinListener
gives a primary id and some labels. The
QuestForOrthologsSeqXMLParser.MoreInfoProteinListener
will provide additionally all available
alternative identifiers and sequence via the QuestForOrthologsSeqXMLParser.MoreInfoProteinListener.MoreInfo
object.Modifier and Type | Class and Description |
---|---|
static interface |
QuestForOrthologsSeqXMLParser.MoreInfoProteinListener
Listener of
QuestForOrthologsSeqXMLParser . |
static interface |
QuestForOrthologsSeqXMLParser.ProteinListener
Listener for
QuestForOrthologsSeqXMLParser . |
Constructor and Description |
---|
QuestForOrthologsSeqXMLParser() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(QuestForOrthologsSeqXMLParser.MoreInfoProteinListener listener)
|
void |
addListener(QuestForOrthologsSeqXMLParser.ProteinListener listener)
|
void |
parse(InputStream inputStream)
Parse the content of the stream with an event-based XML parser.
Content is only provided to registered listeners. |
public void addListener(QuestForOrthologsSeqXMLParser.ProteinListener listener)
listener
- public void addListener(QuestForOrthologsSeqXMLParser.MoreInfoProteinListener listener)
listener
- public void parse(InputStream inputStream) throws XMLStreamException
inputStream
- XMLStreamException
Copyright © 2010-2014. All Rights Reserved.