|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface FeatureI
A feature on a sequence (for example, an exon or a gene), defined by a location and a set of attributes encoded as key/value pairs.
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String key)
Get the attribute value for this key. |
java.lang.String |
group()
Get the group id of the feature. |
boolean |
hasAttribute(java.lang.String key)
Check if the feature has a value defined for the specified key. |
boolean |
hasAttribute(java.lang.String key,
java.lang.String value)
Check if the feature attributes include the specified key/value pair. |
Location |
location()
Get the location of the feature. |
java.lang.String |
toString()
A string representation of the feature. |
java.lang.String |
type()
Get the feature type, for example, "exon", "CDS", etc. |
| Method Detail |
|---|
java.lang.String getAttribute(java.lang.String key)
key - The key.
java.lang.String group()
boolean hasAttribute(java.lang.String key)
key - The key.
boolean hasAttribute(java.lang.String key,
java.lang.String value)
key - The key.value - The value.
Location location()
java.lang.String toString()
toString in class java.lang.Objectjava.lang.String type()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||