public class SimpleSequenceFactory extends java.lang.Object implements SequenceFactory, java.io.Serializable
Constructor and Description |
---|
SimpleSequenceFactory() |
Modifier and Type | Method and Description |
---|---|
Sequence |
createSequence(SymbolList symList,
java.lang.String uri,
java.lang.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 FeatureRealizer getFeatureRealizer()
public void setFeatureRealizer(FeatureRealizer fr)
public Sequence createSequence(SymbolList symList, java.lang.String uri, java.lang.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 sequence