public class SimpleSequenceFactory extends Object implements SequenceFactory, Serializable
Constructor and Description |
---|
SimpleSequenceFactory() |
Modifier and Type | Method and Description |
---|---|
Sequence |
createSequence(SymbolList symList,
String uri,
String name,
Annotation annotation)
Creates a sequence using these parameters.
|
FeatureRealizer |
getFeatureRealizer()
Returns the FeatureRealizer set by "setFeatureRealizer".
|
void |
setFeatureRealizer(FeatureRealizer fr)
Set the FeatureRealizer used by new sequences created by this
factory.
|
public SimpleSequenceFactory()
public FeatureRealizer getFeatureRealizer()
public void setFeatureRealizer(FeatureRealizer fr)
public Sequence createSequence(SymbolList symList, String uri, String name, Annotation annotation)
SequenceFactory
createSequence
in interface SequenceFactory
symList
- the SymbolList defining the 'sequence'uri
- the uri of the sequence. This will be returned
by the getURN() method on Sequence.name
- the nameannotation
- a hint for the annotation of the resulting sequenceCopyright © 2014 BioJava. All rights reserved.