|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.seq.impl.SimpleSequenceFactory
public class SimpleSequenceFactory
A no-frills implementation of SequenceFactory that produces SimpleSequence objects.
| Constructor Summary | |
|---|---|
SimpleSequenceFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSequenceFactory()
| Method Detail |
|---|
public FeatureRealizer getFeatureRealizer()
public void setFeatureRealizer(FeatureRealizer fr)
public Sequence createSequence(SymbolList symList,
String uri,
String name,
Annotation annotation)
SequenceFactory
createSequence in interface SequenceFactorysymList - 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 sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||