|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.AnnotatedEntity
de.jstacs.results.Result
de.jstacs.results.DataSetResult
public class DataSetResult
Result that contains a DataSet. This DataSet e.g. may
have been created by StatisticalModel.emitDataSet(int, int...),
or maybe a DataSet that has been annotated in a classification.
| Field Summary |
|---|
| Fields inherited from class de.jstacs.AnnotatedEntity |
|---|
comment, datatype, name |
| Constructor Summary | |
|---|---|
DataSetResult(StringBuffer source)
The standard constructor for the interface Storable. |
|
DataSetResult(String name,
String comment,
DataSet data)
Creates a new DataSetResult from a DataSet with the
annotation name and comment. |
|
| Method Summary | |
|---|---|
protected void |
appendFurtherInfos(StringBuffer buf)
This method can be used in the method Storable.toXML() to extract
further information (name, comment, datatype). |
protected void |
extractFurtherInfos(StringBuffer rep)
This method can be used in the constructor with parameter StringBuffer to
extract the further information. |
SequenceAnnotationParser |
getParser()
Returns the SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequences
to a file. |
DataSet |
getValue()
Returns the value of the AnnotatedEntity. |
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description. |
void |
setParser(SequenceAnnotationParser parser)
Sets the SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequences
to a file |
| Methods inherited from class de.jstacs.results.Result |
|---|
checkDatatype, createResult, isCastableResult, isComparableResult |
| Methods inherited from class de.jstacs.AnnotatedEntity |
|---|
getComment, getDatatype, getName, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSetResult(String name,
String comment,
DataSet data)
DataSetResult from a DataSet with the
annotation name and comment.
name - the name of the Resultcomment - the comment on the Resultdata - the DataSet that is the result of some computation
public DataSetResult(StringBuffer source)
throws NonParsableException
Storable.
Recreates a DataSetResult from its XML representation as returned
by AnnotatedEntity.toXML().
source - the XML representation as StringBuffer
NonParsableException - if the XML code could not be parsed| Method Detail |
|---|
protected void extractFurtherInfos(StringBuffer rep)
throws NonParsableException
AnnotatedEntityStringBuffer to
extract the further information.
extractFurtherInfos in class AnnotatedEntityrep - a XML represenation of the main information as
StringBuffer
NonParsableException - if the XML representation is not parsableAnnotatedEntity.AnnotatedEntity(StringBuffer)public DataSet getValue()
AnnotatedEntityAnnotatedEntity.
getValue in class AnnotatedEntityAnnotatedEntityprotected void appendFurtherInfos(StringBuffer buf)
AnnotatedEntityStorable.toXML() to extract
further information (name, comment, datatype).
appendFurtherInfos in class AnnotatedEntitybuf - a XML representation of the main information as
StringBufferStorable.toXML()public String getXMLTag()
AnnotatedEntity
getXMLTag in class AnnotatedEntitypublic SequenceAnnotationParser getParser()
SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequences
to a file.
SequenceAnnotationParserpublic void setParser(SequenceAnnotationParser parser)
SequenceAnnotationParser that can be used to
write this DataSetResult including annotations on the contained Sequences
to a file
parser - the new SequenceAnnotationParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||