|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.biojava.bio.seq.io.SimpleFeatureBuilder
Simple FeatureBuilder implementation.
Constructor Summary | |
SimpleFeatureBuilder()
|
Method Summary | |
Feature.Template |
buildFeatureTemplate(java.lang.String type,
Location loc,
StrandedFeature.Strand strandHint,
java.util.Map attrs)
Return a latent (template) feature object to represent a feature in some database. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SimpleFeatureBuilder()
Method Detail |
public Feature.Template buildFeatureTemplate(java.lang.String type, Location loc, StrandedFeature.Strand strandHint, java.util.Map attrs)
type
- String which gives the feature's type.loc
- The feature's location in its parent sequence.strandHint
- a value from StrandedFeature hinting
at which strand of DNA the caller
believes the feature to be on.
This may be safely ignored if you
believe that the notion of `strand'
is not relevant.attrs
- a Map where the key-value pairs represent
attributes of the feature. In general,
the keys will always be Strings, and the
values will usually be Strings, but may
be other Objects. For an attribute with
no value, Boolean.TRUE is used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |