public interface SequenceFactory
The factory layer is in here as sequences are potentialy heavy-weight, so we want to decouple their possibly complicated creation from the code that wants to make them.
Modifier and Type | Method and Description |
---|---|
Sequence |
createSequence(SymbolList symList,
String uri,
String name,
Annotation annotation)
Deprecated.
Creates a sequence using these parameters.
|
Sequence createSequence(SymbolList symList, String uri, String name, Annotation annotation)
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.