public class SimpleAssemblyBuilder extends SequenceBuilderBase
Modifier and Type | Field and Description |
---|---|
static SequenceBuilderFactory |
FACTORY |
annotation, ERROR_FEATURES_PROPERTY, name, seq, uri
Constructor and Description |
---|
SimpleAssemblyBuilder() |
Modifier and Type | Method and Description |
---|---|
ComponentFeature |
addComponentSequence(ComponentFeature.Template cft) |
void |
addSymbols(Alphabet alpha,
Symbol[] syms,
int pos,
int len)
Notify the listener of symbol data.
|
Sequence |
makeSequence()
Return the Sequence object which has been constructed
by this builder.
|
addFeatureProperty, addProperty, addSequenceProperty, endFeature, endSequence, setName, setURI, startFeature, startSequence
public static final SequenceBuilderFactory FACTORY
public SimpleAssemblyBuilder()
public void addSymbols(Alphabet alpha, Symbol[] syms, int pos, int len) throws IllegalAlphabetException
SeqIOListener
addSymbols
in interface SeqIOListener
addSymbols
in class SequenceBuilderBase
alpha
- The alphabet of the symbol datasyms
- An array containing symbolspos
- The start offset of valid data within the arraylen
- The number of valid symbols in the arrayIllegalAlphabetException
- if we can't cope with this
alphabet.public ComponentFeature addComponentSequence(ComponentFeature.Template cft) throws BioException, ChangeVetoException
BioException
ChangeVetoException
public Sequence makeSequence() throws BioException
SequenceBuilder
makeSequence
in interface SequenceBuilder
makeSequence
in class SequenceBuilderBase
BioException
Copyright © 2014 BioJava. All rights reserved.