public class GenbankProcessor extends SequenceBuilderFilter implements ParseErrorSource
Modifier and Type | Class and Description |
---|---|
static class |
GenbankProcessor.Factory
Deprecated.
Factory which wraps sequence builders in a GenbankProcessor
|
Modifier and Type | Field and Description |
---|---|
protected FeatureTableParser |
features
Deprecated.
|
static String |
PROPERTY_GENBANK_ACCESSIONS
Deprecated.
|
Constructor and Description |
---|
GenbankProcessor(SequenceBuilder theDelegate)
Deprecated.
|
GenbankProcessor(SequenceBuilder theDelegate,
String theSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addParseErrorListener(ParseErrorListener theListener)
Deprecated.
Adds a parse error listener to the list of listeners if it isn't already
included.
|
void |
addSequenceProperty(Object key,
Object value)
Deprecated.
Notify the listener of a sequence-wide property.
|
void |
endSequence()
Deprecated.
Notify the listener that processing of the sequence is complete.
|
protected void |
notifyParseErrorEvent(ParseErrorEvent theEvent)
Deprecated.
Passes the event on to all the listeners registered for ParseErrorEvents.
|
void |
removeParseErrorListener(ParseErrorListener theListener)
Deprecated.
Removes a parse error listener from the list of listeners if it is
included.
|
addFeatureProperty, addSymbols, endFeature, getDelegate, makeSequence, setName, setURI, startFeature, startSequence
public static final String PROPERTY_GENBANK_ACCESSIONS
protected FeatureTableParser features
public GenbankProcessor(SequenceBuilder theDelegate, String theSource)
public GenbankProcessor(SequenceBuilder theDelegate)
public void endSequence() throws ParseException
SeqIOListener
endSequence
in interface SeqIOListener
endSequence
in class SequenceBuilderFilter
ParseException
public void addSequenceProperty(Object key, Object value) throws ParseException
SeqIOListener
addSequenceProperty
in interface SeqIOListener
addSequenceProperty
in class SequenceBuilderFilter
ParseException
public void addParseErrorListener(ParseErrorListener theListener)
addParseErrorListener
in interface ParseErrorSource
theListener
- Listener to be added.public void removeParseErrorListener(ParseErrorListener theListener)
removeParseErrorListener
in interface ParseErrorSource
theListener
- Listener to be removed.protected void notifyParseErrorEvent(ParseErrorEvent theEvent)
theEvent
- The event to be handed to the listeners.Copyright © 2014 BioJava. All rights reserved.