Interface RichSequenceBuilder

    • Method Detail

      • makeSequence

        Sequence makeSequence()
                       throws BioException
        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 interface SequenceBuilder
        Throws:
        BioException
      • makeRichSequence

        RichSequence makeRichSequence()
                               throws BioException
        Build a RichSequence.
        Returns:
        a RichSequence
        Throws:
        BioException - if it is not possible to build a RichSequence