org.biojava.bio.seq
Class SimpleSequenceFactory
java.lang.Object
|
+--org.biojava.bio.seq.SimpleSequenceFactory
- public class SimpleSequenceFactory
- extends java.lang.Object
- implements SequenceFactory, java.io.Serializable
A no-frills implementation of SequenceFactory that produces SimpleSequence
objects.
- Author:
- Matthew Pocock, Thomas Down
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SimpleSequenceFactory
public SimpleSequenceFactory()
getFeatureRealizer
public FeatureRealizer getFeatureRealizer()
- Returns the FeatureRealizer set by "setFeatureRealizer".
setFeatureRealizer
public void setFeatureRealizer(FeatureRealizer fr)
- Set the FeatureRealizer used by new sequences created by this
factory.
createSequence
public Sequence createSequence(SymbolList resList,
java.lang.String uri,
java.lang.String name,
Annotation annotation)
- Description copied from interface: SequenceFactory
- Creates a sequence using these parameters.
- Specified by:
- createSequence in interface SequenceFactory
- Tags copied from interface: SequenceFactory
- Parameters:
resList
- the SymbolList defining the 'sequence'uri
- the uriname
- the nameannotation
- a hint for the annotation of the resulting sequence- Returns:
- a new Sequence object