Package org.biojavax.bio.seq.io
Interface RichSequenceBuilder
- All Superinterfaces:
RichSeqIOListener
,SeqIOListener
,SequenceBuilder
- All Known Implementing Classes:
SimpleRichSequenceBuilder
An interface for objects that can build RichSequences.
- Since:
- 1.5
- Author:
- Mark Schreiber
-
Method Summary
Modifier and TypeMethodDescriptionBuild a RichSequence.Return the Sequence object which has been constructed by this builder.Methods inherited from interface org.biojavax.bio.seq.io.RichSeqIOListener
getCurrentFeature, setAccession, setCircular, setComment, setDescription, setDivision, setIdentifier, setNamespace, setRankedCrossRef, setRankedDocRef, setRelationship, setSeqVersion, setTaxon, setURI, setVersion
Methods inherited from interface org.biojava.bio.seq.io.SeqIOListener
addFeatureProperty, addSequenceProperty, addSymbols, endFeature, endSequence, setName, startFeature, startSequence
-
Method Details
-
makeSequence
Return the Sequence object which has been constructed by this builder. This method is only expected to succeed after the endSequence() notifier has been called. Implementations of this for a RichSequenceBuilder should delegate to makeRichSequence() and return only RichSequence objects.- Specified by:
makeSequence
in interfaceSequenceBuilder
- Throws:
BioException
-
makeRichSequence
Build a RichSequence.- Returns:
- a RichSequence
- Throws:
BioException
- if it is not possible to build a RichSequence
-