|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.results.ResultSet
de.jstacs.data.sequences.annotation.SequenceAnnotation
de.jstacs.data.sequences.annotation.LocatedSequenceAnnotation
public class LocatedSequenceAnnotation
Class for a SequenceAnnotation that has a position on the sequence, e.g for transcription start sites or intron-exon junctions.
| Field Summary |
|---|
| Fields inherited from class de.jstacs.results.ResultSet |
|---|
results |
| Constructor Summary | |
|---|---|
LocatedSequenceAnnotation(int position,
String type,
String identifier,
Collection<Result> results)
Creates a new LocatedSequenceAnnotation of type type, with identifier identifier, and additional annotation (that does not fit the SequenceAnnotation definitions)
result. |
|
LocatedSequenceAnnotation(int position,
String type,
String identifier,
Result... results)
Creates a new LocatedSequenceAnnotation of type type, with identifier identifier, and additional annotation (that does not fit the SequenceAnnotation definitions)
result. |
|
LocatedSequenceAnnotation(int position,
String type,
String identifier,
SequenceAnnotation[] annotations,
Result... additionalAnnotation)
Creates a new LocatedSequenceAnnotation of type type, with identifier identifier, additional annotation (that does not fit the SequenceAnnotation definitions)
result, and sub annotations. |
|
LocatedSequenceAnnotation(StringBuffer representation)
Re-creates a LocatedSequenceAnnotation from its XML-representation as returned by toXML(). |
|
LocatedSequenceAnnotation(String type,
String identifier,
LocatedSequenceAnnotation[] annotations,
Result... additionalAnnotation)
Creates a new LocatedSequenceAnnotation of type type, with identifier identifier, additional annotation (that does not fit the SequenceAnnotation definitions)
result, and sub annotations. |
|
| Method Summary | |
|---|---|
protected void |
fromXML(StringBuffer representation)
Parses the contents of a ResultSet from its XML-representation as returned by ResultSet.toXML(). |
int |
getPosition()
Returns the position of this LocatedSequenceAnnotation on the sequence. |
String |
toString()
|
StringBuffer |
toXML()
This method returns an XML-representation of an instance of the implementing class. |
| Methods inherited from class de.jstacs.data.sequences.annotation.SequenceAnnotation |
|---|
getAnnotations, getIdentifier, getSubAnnotations, getType |
| Methods inherited from class de.jstacs.results.ResultSet |
|---|
findColumn, getNumberOfResults, getResultAt, getResults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocatedSequenceAnnotation(int position,
String type,
String identifier,
Result... results)
LocatedSequenceAnnotation of type type, with identifier identifier, and additional annotation (that does not fit the SequenceAnnotation definitions)
result.
position - the position of the LocatedSequenceAnnotation on the sequencetype - the type of the annotationidentifier - the identifier of the annotationresults - the additional annotation
public LocatedSequenceAnnotation(int position,
String type,
String identifier,
Collection<Result> results)
LocatedSequenceAnnotation of type type, with identifier identifier, and additional annotation (that does not fit the SequenceAnnotation definitions)
result.
position - the position of the LocatedSequenceAnnotation on the sequencetype - the type of the annotationidentifier - the identifier of the annotationresults - the additional annotation
public LocatedSequenceAnnotation(int position,
String type,
String identifier,
SequenceAnnotation[] annotations,
Result... additionalAnnotation)
LocatedSequenceAnnotation of type type, with identifier identifier, additional annotation (that does not fit the SequenceAnnotation definitions)
result, and sub annotations.
position - the position of the LocatedSequenceAnnotation on the sequencetype - the type of the annotationidentifier - the identifier of the annotationannotations - the sub-annotationsadditionalAnnotation - the additional annotation
public LocatedSequenceAnnotation(String type,
String identifier,
LocatedSequenceAnnotation[] annotations,
Result... additionalAnnotation)
LocatedSequenceAnnotation of type type, with identifier identifier, additional annotation (that does not fit the SequenceAnnotation definitions)
result, and sub annotations. The position of this LocatedSequenceAnnotation is the minimum of the positions of annotations.,
type - the type of the annotationidentifier - the identifier of the annotationannotations - the sub-annotationsadditionalAnnotation - the additional annotation
public LocatedSequenceAnnotation(StringBuffer representation)
throws NonParsableException
LocatedSequenceAnnotation from its XML-representation as returned by toXML().
representation - the XML-representation
NonParsableException - is thrown if the XML-code could not be parsed| Method Detail |
|---|
protected void fromXML(StringBuffer representation)
throws NonParsableException
ResultSetResultSet from its XML-representation as returned by ResultSet.toXML().
fromXML in class SequenceAnnotationrepresentation - the XML-representation
NonParsableException - is thrown if the XML-code could not be parsedpublic StringBuffer toXML()
Storable
toXML in interface StorabletoXML in class SequenceAnnotationpublic int getPosition()
LocatedSequenceAnnotation on the sequence.
public String toString()
toString in class SequenceAnnotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||